Jump to content
  • 0

error 004: function "PlayerToPoint" is not implemented


Question

Posted

D:\GM SAMP\samp03\gamemodes\new.pwn(3177) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3181) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3195) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3199) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3203) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3207) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3211) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3215) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3219) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3223) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3227) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3231) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3235) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3239) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3243) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3257) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3261) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3265) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3269) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3273) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3287) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3291) : error 004: function "PlayerToPoint" is not implemented

D:\GM SAMP\samp03\gamemodes\new.pwn(3295) : error 004: function "PlayerToPoint" is not implemented

[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtClothShop=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

public IsAtClothShop(playerid)

{

    if(IsPlayerConnected(playerid))

{

        if(PlayerToPoint(25.0,playerid,20.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))

{//Binco & Suburban

    return 1;

}

else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))

{//Zip & Victim

    return 1;

}

}

return 0;

}

//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtGasStation=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

public IsAtGasStation(playerid)

{

    if(IsPlayerConnected(playerid))

{

    if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))

{//LS

    return 1;

}

else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))

{//LS

    return 1;

}

else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))

{//SF

    return 1;

}

else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))

{//Between LS and SF

    return 1;

}

else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))

{//LV

    return 1;

}

else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))

{//LV

    return 1;

}

else if(PlayerToPoint(8.0,playerid,653.7887,-558.9128,16.0569) || PlayerToPoint(6.0,playerid,657.8952,-560.0955,16.0563) || PlayerToPoint(6.0,playerid,657.7588,-570.0426,16.0558) || PlayerToPoint(6.0,playerid,653.2770,-570.6624,16.0559))

{//LANGA ORASE

    return 1;

}

else if(PlayerToPoint(8.0,playerid,-93.2372,-1161.8323,1.8126) || PlayerToPoint(6.0,playerid,-98.2476,-1173.9332,1.9468) || PlayerToPoint(6.0,playerid,-95.8510,-1173.7600,1.9070) || PlayerToPoint(6.0,playerid,-90.6453,-1161.3311,1.7448) || PlayerToPoint(6.0,playerid,-86.1291,-1163.8663,1.7806) || PlayerToPoint(6.0,playerid,-91.5619,-1176.0808,1.7427) || PlayerToPoint(6.0,playerid,-88.9722,-1176.5046,1.7013) || PlayerToPoint(6.0,playerid,-83.9432,-1164.8085,1.7549))

{//LS

    return 1;

}

else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))

{//LV

    return 1;

}

else if(PlayerToPoint(8.0,playerid,2209.1663,2474.5078,10.3772) || PlayerToPoint(6.0,playerid,2198.2334,2475.7424,10.3914))

{//LV

    return 1;

}

else if(PlayerToPoint(8.0,playerid,1596.3413,2192.0181,10.3905) || PlayerToPoint(6.0,playerid,1595.9370,2202.7014,10.3728))

{//LV

    return 1;

}

else if(PlayerToPoint(8.0,playerid,2114.9333,926.9537,10.3941) || PlayerToPoint(6.0,playerid,2114.4756,916.4849,10.3843))

{//LV

    return 1;

}

else if(PlayerToPoint(8.0,playerid,2639.5535,1099.9788,10.3865) || PlayerToPoint(6.0,playerid,2639.4646,1110.1877,10.3944))

{//LV

    return 1;

}

}

return 0;

}

//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtFishPlace=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

public IsAtFishPlace(playerid)

{

if(IsPlayerConnected(playerid))

{

    if(PlayerToPoint(1.0,playerid,403.8266,-2088.7598,7.8359) || PlayerToPoint(1.0,playerid,398.7553,-2088.7490,7.8359))

{//Fishplace at the bigwheel

    return 1;

}

else if(PlayerToPoint(1.0,playerid,396.2197,-2088.6692,7.8359) || PlayerToPoint(1.0,playerid,391.1094,-2088.7976,7.8359))

{//Fishplace at the bigwheel

    return 1;

}

else if(PlayerToPoint(1.0,playerid,383.4157,-2088.7849,7.8359) || PlayerToPoint(1.0,playerid,374.9598,-2088.7979,7.8359))

{//Fishplace at the bigwheel

    return 1;

}

else if(PlayerToPoint(1.0,playerid,369.8107,-2088.7927,7.8359) || PlayerToPoint(1.0,playerid,367.3637,-2088.7925,7.8359))

{//Fishplace at the bigwheel

    return 1;

}

else if(PlayerToPoint(1.0,playerid,362.2244,-2088.7981,7.8359) || PlayerToPoint(1.0,playerid,354.5382,-2088.7979,7.8359))

{//Fishplace at the bigwheel

    return 1;

}

}

return 0;

}

//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=IsAtBar=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

public IsAtBar(playerid)

{

    if(IsPlayerConnected(playerid))

{

if(PlayerToPoint(4.0,playerid,495.7801,-76.0305,998.7578) || PlayerToPoint(4.0,playerid,499.9654,-20.2515,1000.6797))

{//In grove street bar (with girlfriend), and in Havanna

    return 1;

}

else if(PlayerToPoint(20.0,playerid,329.6093,-1885.4706,2.0742))

{//PLAJA LS

    return 1;

}

else if(PlayerToPoint(4.0,playerid,1215.9480,-13.3519,1000.9219) || PlayerToPoint(10.0,playerid,-2658.9749,1407.4136,906.2734))

{//PIG Pen

    return 1;

}

else if(PlayerToPoint(20.0,playerid,1014.4864,-917.5173,46.6641))

{//BENZINARIE1

    return 1;

}

else if(PlayerToPoint(20.0,playerid,1917.3258,-1777.3032,17.9766))

{//BENZINARIE2

    return 1;

}

else if(PlayerToPoint(20.0,playerid,1512.1785,-1655.1675,13.5392))

{//LSPD1

    return 1;

}

else if(PlayerToPoint(20.0,playerid,1501.0073,-1631.9956,14.0469))

{//LSPD2

    return 1;

}

else if(PlayerToPoint(4.0,playerid,-2285.1082,-1649.3217,483.1833) || PlayerToPoint(10.0,playerid,-2318.2810,-1662.1049,483.3338))

{//plaja

    return 1;

}

else if(PlayerToPoint(4.0,playerid,188.8452,-1792.8093,3.9557) || PlayerToPoint(10.0,playerid,193.7065,-1833.7201,3.8855))

{//plaja

    return 1;

}

}

return 0;

}[/pawn]

nu stiu dc trebuie sa pun un include sau ceva ca e de la0?

3 answers to this question

Recommended Posts

Posted


Ai pus public inainte de playertopoint,adik asa     
public PlayerToPoint

Pentru ce ?



Ai uitat sa deschizi o { sau sa inchizi o }.

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.