- 0
problema /skin
-
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
horke1
am o problema la skin imi da eror are careva ide va rog
if (strcmp(cmd, "/skin", true) == 0 ) { new skin[256]; skin = strtok(cmdtext, idx); if (!strlen(skin)) { SendClientMessage(playerid, COLOR_RED, "Use: /skin [skinid]"); return 1; } new newskin = strval(skin); if ((newskin < 0) || (newskin > 299) || IsInvalidSkin(newskin)) { SendClientMessage(playerid, COLOR_RED, "Server: This skin does not exist!"); return 1; } if (GetPlayerMoney(playerid) >= 0) { SetPlayerSkin(playerid, newskin); GivePlayerMoney(playerid,-0); format(string, 128, "Server: Skin changed to the id %d, have fun", newskin); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { SendClientMessage(playerid, COLOR_RED, "You can not change skin"); } return 1; }eroi astea4 answers to this question
Recommended Posts