Quote:
Originally Posted by pds2012
iManakoss i just need to corect your command here.
here is the right command
pawn Код:
if (strcmp("/sf", cmdtext, true, 10) == 0) { new string[128]; new pname[128]; GetPlayerName(playerid,pname,sizeof(pname)); format(string, sizeof(string), "(Teleport)Player %s(%d) has teleported to San Fierro (/sf)",pname,playerid); SendClientMessageToAll(COLOR_WHITE,string); SetPlayerPos(playerid, -1513.7695, 795.8688, 7.1875, 31.2638 ); return 1; }
|
Player name is up to 128 chars ?
/fail