Név lekérése:new pName[MAX_PLAYER_NAME];GetPlayerName(playerid,pName,MAX_PLAYER_NAME);SendClientMessageToAll(szînkód, \"üzenet\");
new string[128], name[MAX_PLAYER_NAME];GetPlayerName(playerid, name, MAX_PLAYER_NAME);format(string, sizeof(string), \"%s blabla\", name);SendClientMessageToAll( 0xde1616AA, string);
CMD:ok(playerid, params[]){ new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(string, sizeof(string), \"%s blabla\", name); SendClientMessageToAll( 0xde1616AA, string); return 1;}
if(strcmp(cmdtext, \"/ok\", true)){ new string[128], name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, MAX_PLAYER_NAME); format(string, sizeof(string), \"%s blabla\", name); SendClientMessageToAll( 0xde1616AA, string); return 1;}