error 035: argument type mismatch (argument 2)
#3

Quote:
Originally Posted by 1fret
Посмотреть сообщение
Change this
PHP код:
SetPlayerHealth(playerid"99999999"); 
to
PHP код:
SetPlayerHealth(playerid99999999); 
same for this
PHP код:
SetPlayerHealth(playerid"99"); 
to
PHP код:
SetPlayerHealth(playerid,99); 
The ("") is only used for strings
Thank you!


I need some help with that: (Sorry I'm beginner.)
Код:
if(IsPlayerAdmin(playerid)) return SCM(playerid, -1, "* Nu ai admin!");
	//if(PlayerInfo[playerid][pAdmin] == 0) return SCM(playerid, -1, "* Nu ai admin!");
	if(MarkPos[playerid][0] == 0) return SCM(playerid, -1, "* Nu ai salvat o pozitie! (/mark)");
	if(GetPlayerState(playerid == PLAYER_STATE_DRIVER) SetVehiclePos(GetPlayerVehicleID(playerid), MarkPos[playerid][0], MarkPos[playerid][1], MarkPos[playerid][2]);
	else SetVehiclePos(playerid, MarkPos[playerid][0], MarkPos[playerid][1], MarkPos[playerid][2]);
	SCM(playerid, -1, "Te-ai teleportat cu success!");
	return 1;
}
Sorry, I am from Romania.

Error:
Код:
error 001: expected token: ")", but found "-identifier-"
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)