ERROR , PLEASE HELO
#1

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);
Reply
#2

PHP код:
SetPlayerPos(playeridPoz[0], Poz[1], Poz[2])); 
one unnecessary close parenthesis
PHP код:
SetPlayerPos(playeridPoz[0], Poz[1], Poz[2]); 
Reply
#3

EDIT: Alvitr replied before i do.
Reply
#4

Quote:
Originally Posted by Alvitr
Посмотреть сообщение
PHP код:
SetPlayerPos(playeridPoz[0], Poz[1], Poz[2])); 
one unnecessary close parenthesis
PHP код:
SetPlayerPos(playeridPoz[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
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)