22.02.2016, 17:28
How to add Checkpoint refil cops?as this proof but not medic i want Refil Weapons
C:\Users\Alomari\Desktop\SAMP Server\gamemodes\LVCNR.pwn(231) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterDynamicCP") C:\Users\Alomari\Desktop\SAMP Server\gamemodes\LVCNR.pwn(235) : error 017: undefined symbol "Refil" C:\Users\Alomari\Desktop\SAMP Server\gamemodes\LVCNR.pwn(235) : error 017: undefined symbol "CreateDynamicCP" C:\Users\Alomari\Desktop\SAMP Server\gamemodes\LVCNR.pwn(235) : warning 215: expression has no effect C:\Users\Alomari\Desktop\SAMP Server\gamemodes\LVCNR.pwn(235) : error 017: undefined symbol "streamdistance"
public OnPlayerEnterDynamicCP(playerid, checkpointid) { if(checkpointid == 19945) { Refil = CreateDynamicCP(Float:1318, Float:7687, Float:1258, Float:10, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0); GameTextForPlayer(playerid, "~b~Refil", 5000, 6); // Refil } return 1; }
public OnPlayerLeaveDynamicCP(playerid, checkpointid) { if(checkpointid == 19945) { Refil = CreateDynamicCP(Float:1318, Float:7687, Float:1258, Float:10, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0); // This is how the real variable is detected like GameTextForPlayer(playerid, "~b~Bye", 5000, 6); // When player is getting out of cp it will say bye } return 1; }
-_- This Scripting Help is not for help Members? and i asking for a pepole tell me how to fix it -_-
|