19.12.2010, 01:21
Do it like this:
pawn Код:
#define GREEN 0x0000FFFF
OnPlayerSpawn(playerid)
{
switch(GetPVarInt(playerid, "IsSpawned"))
case 0:
{
SendClientMessage(playerid, GREEN, You have been succesfully spawned.);
SetPVarInt(playerid, "IsSpawned", 1);
}
return 1;
}