KaLu17

[pawno.pl] -> #25293

Apr 9th, 2014
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.37 KB | None | 0 0
  1. #include <a_samp>
  2. #include <sscanf2>
  3. #include <zcmd>
  4.  
  5. CMD:skin(playerid, params[])
  6. {
  7.     new skin;
  8.  
  9.     if(sscanf(params, "d", skin))
  10.         return SendClientMessage(playerid, 0xFF0000FF, "Użyj :/skin [id skina]");
  11.  
  12.     if(skin < 0 || skin > 299)
  13.         return SendClientMessage(playerid, 0xFF0000FF, "(I): Skiny są od 0 do 299. :C");
  14.  
  15.     SetPlayerSkin(playerid, skin);
  16.     return 1;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment