Pwn output errors !
#1


Hello guys i was making a script ..when i'm done i tried to compile it but this window appeared and i didn't know where the errors located at ..can someone help me please ?
Reply
#2

dude, show the line..
Reply
#3

Show me the code at the line 385
Reply
#4

Here you go Sorry , i thought i posted him http://i.imgur.com/Ift5G3h.png
Reply
#5

pawn Код:
new pid;
if(IsPlayerConnected(pid))
What on earth is that? You're declaring a SECOND playerid variable (which gets initialized to 0) and then checking if ID 0 is connected.

As for the error, you don't have a bracket under the line commented 'SPAZ'.
Reply
#6

thanks for your help it works perfectly now
Reply
#7

pawn Код:
case 4:
    if(GetPlayerMoney(playerid)>=2500)
     {
      SendClientMessage(playerid,COLOR_WHITE,"You ha sucessfully bought first aid kit!");
      SetPlayerHealth(playerid,100);
      GivePlayerMooney(playerid,-2500);
      return 1;
      }
      else SendClientMessage(playerid,COLOR_WHITE,"You don't have enought money!")
      return 1;
      }
Код:
rep if i help you :)
Reply
#8

Also, in the command /gethere - you have wrong SSCANF checking.

You check for
pawn Код:
SSCANF( .. , "ui, pid ))
having only ONE variable. It should be
pawn Код:
SSCANF(..., "u", pid))
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)