[Error] error 001: expected token:
#1

Hello Guys, I've been implenting an simple zombie bite script on my Rp Gamemode.
For Events.
Well, After compiling the script, There was an another problem.
This one,
Код:
NYRP.pwn(23782) : error 001: expected token: ",", but found ";"
This is the script
Код:
		new string[128]; // 23781
	      format(string, sizeof(string), "* %s bites %s in his neck.", RPN(playerid), GetClosestPlayerToPlayer(playerid); // 23782
	      PlayerInfo[playerb][pZInfected] = 1; // 23783
I hope someone could help me out!
Reply
#2

Rather obvious missing closing bracket.
Reply
#3

try this

pawn Код:
new string[128]; // 23781
          format(string, sizeof(string), "* %s bites %s in his neck.", RPN(playerid), GetClosestPlayerToPlayer(playerid)); // 23782
          PlayerInfo[playerb][pZInfected] = 1; // 23783
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)