PDA

View Full Version : help with 2 scripts


GrOobY
13/11/2013, 01:00 PM
how to /setmyskin [id] with sscanf

and i use /repair to repair a vehicle use a giveplayermoney -10 how to made this 10$ to give on my account (My Nick is GrOobY[BS] help me !!!)

Konstantinos
13/11/2013, 01:07 PM
CMD:setmyskin( playerid, params[ ] )
{
new
skinid
;
if( sscanf( params, "i", skinid ) ) return SendClientMessage( playerid, -1, "Usage: /setmyskin <skinid>" );
if( skinid < 0 || skinid > 299 || skinid == 74 ) return SendClientMessage( playerid, -1, "Valid skins: 0-73 and 75-299" );

SetPlayerSkin( playerid, skinid );
return 1;
}