ERROR , PLEASE HELO - 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)
+--- Thread: ERROR , PLEASE HELO (
/showthread.php?tid=622874)
ERROR , PLEASE HELO -
diabolaguy00 - 27.11.2016
I got this errors on this lines...
Код:
warning 219: local variable "SetPlayerPos" shadows a variable at a preceding level
error 001: expected token: ";", but found "("
error 017: undefined symbol "Poz"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Код:
if(PolicijskaAuta(vehicleid))
{
if(PlayerInfo[playerid][pClan] != 1)
{
SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]));
GameTextForPlayer(playerid, "~b~Fort Carson Police Department!", 2500, 5);
}
}
THIS LINE :
Код:
GameTextForPlayer(playerid, "~b~Fort Carson Police Department!", 2500, 5);
Re: ERROR , PLEASE HELO -
Alvitr - 27.11.2016
PHP код:
SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]));
one unnecessary close parenthesis
PHP код:
SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
Re: ERROR , PLEASE HELO - Jelly23 - 27.11.2016
EDIT: Alvitr replied before i do.
Re: ERROR , PLEASE HELO -
diabolaguy00 - 27.11.2016
Quote:
Originally Posted by Alvitr
PHP код:
SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]));
one unnecessary close parenthesis
PHP код:
SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
|
Код:
SetPlayerPos(playerid, Poz[0], Poz[1], Poz[2]);
Now on that line i get this errors
Код:
error 017: undefined symbol "Poz"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
Re: ERROR , PLEASE HELO -
Alvitr - 27.11.2016
umm...
where's the Poz go?
or..
where is these code from?
that might have variable array Poz but it seems lost,
check where you get it again.