Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. CMD:skin(playerid, params[])
  2. {
  3. if(isnull(params)) return SendClientMessage(playerid, COLOR_RED, "Podaj ID wyglądu postaci.");
  4. new SID = strval(params);
  5. if(IsInvalidSkin(SID) || SID < 0 || SID > 299) return SendClientMessage(playerid, COLOR_RED, "Nieodpowiednie ID wyglądu postaci.");
  6. SetPlayerSkin(playerid, SID);
  7. SendClientMessage(playerid, COLOR_GREEN, "Wygląd postaci zmieniony.");
  8. return 1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement