Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Adaugam asta la variabile
- halloweenskin[MAX_PLAYERS],
- //Asta o adaugam la public OnPlayerConnect(playerid)
- halloweenskin[playerid] = 0;
- //Si...in final, comanda.
- CMD:halloweenskin(playerid, params[])
- {
- if(gLogged[playerid] == 0)
- {
- if(PlayerInfo[playerid][pLanguage] == 1)
- {
- SendClientMessage(playerid, COLOR_LIGHT, "Tu nu esti logat si nu poti sa folosesti aceasta comanda!");
- }
- else
- {
- SendClientMessage(playerid, COLOR_LIGHT, "You need to login first.");
- }
- }
- if(halloweenskin[playerid] == 1) return SendClientMessage(playerid, COLOR_NEWBIE, "Folosesti deja skin-ul de halloween.");
- {
- if(halloweenskin[playerid] == 0)
- {
- halloweenskin[playerid] = 1;
- SetPlayerSkin(playerid, 264);
- SendClientMessage(playerid, COLOR_NEWBIE, "Acum esti un clown inspaimantator. Skin-ul se va schimba dupa respawn.");
- }
- }
- return 1;
- }
- //prima parte cu glogged, la mine asa am si am facut si pt lb eng si pt ro...modificati voi.
- //Pentru a merge comanda dupa ce muriti sau primiti /spawn adaugati la comanda /spawn
- halloweenskin[playerid] = 0;
- //La death la fel...s.a.m.d.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement