[Help me again]
#3

Look there is 3 errors + 1 warring
Код:
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"
the code
Код:
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;
}
Reply


Messages In This Thread
[Help me again] - by RedRex - 22.02.2016, 17:28
Re: [Help me again] - by TuFF12 - 22.02.2016, 17:46
Re: [Help me again] - by RedRex - 22.02.2016, 19:06
Re: [Help me again] - by RedRex - 22.02.2016, 19:09
Re: [Help me again] - by Sawalha - 22.02.2016, 19:11
Re: [Help me again] - by RedRex - 22.02.2016, 19:14
Re: [Help me again] - by SyS - 23.02.2016, 08:04
Re: [Help me again] - by RedRex - 23.02.2016, 08:10
Re: [Help me again] - by Sithis - 23.02.2016, 08:36

Forum Jump:


Users browsing this thread: 4 Guest(s)