to mu nepude ani náhodou
jaj sry sprav to tak ako napísal vodnik
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/warp", cmdtext, true, 4) == 0)
{
new string[100];
new jmeno[20];
GetPlayerName(playerid, jmeno, sizeof(jmeno));
SetPlayerPos(playerid, x y z);
format(string, sizeof(string),"Hráč %s sa odwarpoval na ****", jmeno);
SendClientMessageToAll(COLOR_***,string);
return 1;
}
return 0;
}
u SCMTA se nepoužívá playerid
a aby mu šlo jmeno potřebuje format a zjistit to jmeno ...