if(strcmp(cmd, \"/taxi\", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,\"Taxis lettél,ha fel szeretnél mondani,használd az /exitjob parancsot!\"); SendClientMessageToAll(0xFFA500FF, \"%s taxis lett!\"); SetPlayerPos(playerid,1654.9777,1301.7742,10.8203); SetPlayerSkin(playerid, 255); return 1;}
if(strcmp(cmd, \"/taxi\", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,\"Taxis lettél,ha fel szeretnél mondani,használd az /exitjob parancsot!\");new name[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, name, sizeof(name));format(string,sizeof(string),\"%s taxis lett!\",name); SendClientMessageToAll(0xFFA500FF, string); SetPlayerPos(playerid,1654.9777,1301.7742,10.8203); SetPlayerSkin(playerid, 255); return 1; }
new name[MAX_PLAYER_NAME], string[128];
261) : warning 219: local variable \"string\" shadows a variable at a preceding level
if(strcmp(cmd, \"/taxi\", true) == 0) { SendClientMessage(playerid, COLOR_GREEN,\"Taxis lettél,ha fel szeretnél mondani,használd az /exitjob parancsot!\");new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name));format(string,sizeof(string),\"%s taxis lett!\",name); SendClientMessageToAll(0xFFA500FF, string); SetPlayerPos(playerid,1654.9777,1301.7742,10.8203); SetPlayerSkin(playerid, 255); return 1; }