SA-MP Forums Archive
help code - 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: help code (/showthread.php?tid=445379)



help code - 26_RUSSS - 21.06.2013

Код:
public OnPlayerRequestSpawn(playerid)
{
if(GetPlayerSkin(playerid) == 101 && !IsPlayerAdmin(playerid))
{
else
{
SendClientMessage(playerid, 0xA0AD3296, "no admins and!!!");
}
return 0;
}
error

Код:
C:\Users\26_RUS\Desktop\123\pawno\V-Admin66.pwn(624) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.



Re: help code - OpticKiller - 21.06.2013

Код:

public OnPlayerRequestSpawn(playerid)
{
	if(GetPlayerSkin(playerid) == 101 && !IsPlayerAdmin(playerid))
	{
	
	}
	else
	{
		SendClientMessage(playerid, 0xA0AD3296, "no admins and!!!");
	}
	return 0;
}