- 0
Ajutor
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
d3aglesoft
Am comanda aceasta de /skin
if(!strcmp(cmdtext, "/skin", true, 5)) { if(PlayerInfo[playerid][pMember] >= 1 || PlayerInfo[playerid][pLeader] >= 1) { SendClientMessage(playerid, -1, "Nu poti folosi comanda"); return 1; } if(!cmdtext[5]) { SendClientMessage(playerid, COLOR_RED, "COST: $1000"); return SendClientMessage(playerid, -1, "USAGE: /skin [skinid]"); } new skinid = strval(cmdtext[6]); if(skinid < 0 || skinid > 299) return SendClientMessage(playerid, -1, "ERROR: Invalid skin id!"); if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid, COLOR_RED, "ERRO: You don't have enough money to change your skin."); GivePlayerMoney(playerid, -1000); SetPlayerSkin(playerid, skinid); return 1; }Dar as vrea ca sa nu poti alege un skin de al factiunii , deci as vrea sa pun interdictie pe cateva skinuri,dar nu stiu cum
Multumesc anticipat.
2 answers to this question
Recommended Posts