14.03.2011, 22:07
pawn Код:
if(strcmp(cmd, "/pravila", true) == 0)
{
if(IsPlayerConnected(playerid))
{
ShowPlayerDialog(playerid, PRAVILA, DIALOG_STYLE_LIST, "Pravila","RolePlay\nMetaGaming\nRevengeKill\nPowerGaming\nBunnyHop\nSpawnKill\nDeathMatch\nOOC\nIC", "Dobro", "Izadji");
SendClientMessage(playerid, COLOR_GREEN, " ** Otvori sta ti hoces da procitas!");
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s cita pravila.", sendername);
}
return 1;
}
pawn Код:
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s cita pravila.", sendername);