just 1 error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: just 1 error (
/showthread.php?tid=154012)
just 1 error -
by_karizma - 11.06.2010
Код:
SendClientMessage(playerid, 0x33AA33AA, "You are a Spectator.");
ResetPlayerWeapons(playerid)
SetPlayerHealth(playerid,100);
SetPlayerTeam(playerid,0);
SetPlayerPos(playerid, 2931.8654785156,4167.9775390625,73.815414428711);
}
}
}
return 1;
}
what is the problem here ?
Код:
DMZONEv2.pwn(674) : error 001: expected token: ";", but found "-identifier-"
Re: just 1 error -
boelie - 11.06.2010
ResetPlayerWeapons(playerid)
needs a ;
Re: just 1 error - [L3th4l] - 11.06.2010
Код:
SendClientMessage(playerid, 0x33AA33AA, "You are a Spectator.");
ResetPlayerWeapons(playerid)
SetPlayerHealth(playerid,100);
SetPlayerTeam(playerid,0);
SetPlayerPos(playerid, 2931.8654785156,4167.9775390625,73.815414428711);
}
}
}
return 1;
}
Код:
SendClientMessage(playerid, 0x33AA33AA, "You are a Spectator.");
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid,100);
SetPlayerTeam(playerid,0);
SetPlayerPos(playerid, 2931.8654785156,4167.9775390625,73.815414428711);
}
}
}
return 1;
}
forgot a ";" on ResetPlayerWeapons
Re: just 1 error -
by_karizma - 11.06.2010
thanks it works. my head hurt ^^ i forgot there :P