- 0
Problema GameMode!
-
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
ruben88
if (strcmp(cmd, "/skin", true) == 0 ) { new skin[256]; skin = strtok(cmdtext, idx); if (!strlen(skin)) { SendClientMessage(playerid, COLOR_BASIC, "Scrie: /skin [id skin]"); return 1; } new newskin = strval(skin); if ((newskin < 0) || (newskin > 299) || IsInvalidSkin(newskin)) { SendClientMessage(playerid, COLOR_BASIC, "SERVERBOT: Acest Skin nu exista!"); return 1; } if (GetPlayerMoney(playerid) >= 0) { SetPlayerSkin(playerid, newskin); GivePlayerMoney(playerid,-0); format(string, 128, "Server: Skin schimbat la id-ul %d, pentru 100$, distreaza-te", newskin); SendClientMessage(playerid, COLOR_BASIC, string); } else { SendClientMessage(playerid, COLOR_BASIC, "Nu ai bani iti trebuie 100$"); } return 1; }Leam copilat cu 0.3c,0.3b si 0.3a si am incercat si cu 0.2x
))))))
1 answer to this question
Recommended Posts