ShowPlayerNameTagForPlayer(playerid, i, 1);
for ( new i = 0; i < MAX_PLAYERS; i++ ) {
if(strcmp(cmd, \"/help\", true) == 0) {ShowPlayerNameTagForPlayer(playerid, i, 0);return 1;}
#include <a_samp>#define sarga 0xFFFF00AA#define piros 0xAA3333AAnew bool:Maszk[MAX_PLAYERS] = false;public OnFilterScriptInit(){print(\"Mask loaded\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ new Float: penz; GetPlayerMoney(playerid, penz); if(!strcmp(cmdtext,\"/mask\",true)){ if(Maszk[playerid] == false) { if(penz <=500) { Maszk[playerid] = true; SendClientMessage(playerid,sarga,\"Maszk megvéve.\"); SetPlayerMoney(playerid,-500); } else { SendClientMessage(playerid,piros,\"Hiba: Nincs elég pénzed!\"); }}else{ SendClientMessage(playerid,piros,\"Hiba: Neked már van maszkod!\");}return 1;}if(!strcmp(cmdtext,\"/mask-be\",true)){ if(Maszk[playerid] == true) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid,i,0); SendClientMessage(playerid,sarga,\"Felvetted a maszkot.\"); }}else{ SendClientMessage(playerid,piros,\"Hiba: Nincs maszkod!\");} return 1;}if(!strcmp(cmdtext,\"/mask-ki\",true)){ if(Maszk[playerid] == true) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid,i,1); SendClientMessage(playerid,sarga,\"Levetted a maszkot.\"); }}else{ SendClientMessage(playerid,piros,\"Hiba: Nincs maszkod!\");} return 1;}return 0;}
#include <a_samp>#define sarga 0xFFFF00AA#define piros 0xAA3333AAnew bool:Maszk[MAX_PLAYERS] = false;public OnFilterScriptInit(){print(\"Mask loaded by md12\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ new Float: penz; penz = GetPlayerMoney(playerid);if(!strcmp(cmdtext,\"/mask\",true)){ if(Maszk[playerid] == false) { if(penz <=500) { Maszk[playerid] = true; SendClientMessage(playerid,sarga,\"Maszk megvéve.\"); GivePlayerMoney(playerid,-500); } else { SendClientMessage(playerid,piros,\"Hiba: Nincs elég pénzed!\"); }}else{ SendClientMessage(playerid,piros,\"Hiba: Neked már van maszkod!\");}return 1;}if(!strcmp(cmdtext,\"/mask-be\",true)){ if(Maszk[playerid] == true) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid,i,0); SendClientMessage(playerid,sarga,\"Felvetted a maszkot.\"); }}else{ SendClientMessage(playerid,piros,\"Hiba: Nincs maszkod!\");} return 1;}if(!strcmp(cmdtext,\"/mask-ki\",true)){ if(Maszk[playerid] == true) { for(new i = 0; i < MAX_PLAYERS; i++) { ShowPlayerNameTagForPlayer(playerid,i,1); SendClientMessage(playerid,sarga,\"Levetted a maszkot.\"); }}else{ SendClientMessage(playerid,piros,\"Hiba: Nincs maszkod!\");} return 1;}return 0;}
if( GetPlayerMoney( playerid ) <= 500 ) {
ShowPlayerNameTagForPlayer(i,playerid,0);
if(penz <=500)
if(penz >=500)