Whats Wrong With This - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Whats Wrong With This (
/showthread.php?tid=302495)
Whats Wrong With This -
Cohen - 09.12.2011
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/airportisland", true) == 0)
{
SetPlayerPos(playerid,5839.5556640625,-1724.4288330078,4.8843765258789);
SendClientMessage (playerid, 86 , "You have been teleported to the Airport.");
}
return 1;
}
return 0;
}
Re: Whats Wrong With This -
Gazmull - 09.12.2011
pawn Код:
SendClientMessage(playerid, 86, "You have been teleported to the Airport.");
this
isn't a hex code or not defined.
you should define the number/colour or put the specific as comenzeno tried.
Re: Whats Wrong With This -
KingHual - 09.12.2011
The colors should be in hex format. Its 0xRRGGBBAA (AA is transparency)