11.03.2009, 19:32
Quote:
new Data[MAX_PLAYER_NAME]; GetPlayerName(playerid, Data, sizeof(Data)); if(strcmp(Data,"yournamehere",true)) |
Quote:
if (strcmp("/cctv", cmdtext, true) == 0) { new Data[MAX_PLAYER_NAME]; GetPlayerName(playerid, Data, sizeof(Data)); if(strcmp(Data,"yournamehere",true))[/ { PlayerMenu[playerid] = 0; TogglePlayerControllable(playerid, 0); ShowMenuForPlayer(CCTVMenu[0], playerid); return 1; } } |