SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/11/2013, 01:00 PM   #1
GrOobY
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default help with 2 scripts

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 !!!)
__________________
GrOobY is offline   Reply With Quote
Old 13/11/2013, 01:07 PM   #2
Konstantinos
Spam Machine
 
Konstantinos's Avatar
 
Join Date: Dec 2011
Posts: 11,828
Reputation: 1401
Default Re: help with 2 scripts

pawn Code:
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;
}
__________________
Life is like riding a bicycle. To keep your balance, you must keep moving.

[Tutorial] How to use SQLite
[FilterScript] Tune System
Konstantinos is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Scripts Sliceofdeath Scripting Help 3 05/03/2013 02:08 PM
scripts Crazyboobs Server Support 2 14/07/2012 07:30 PM
i need help with some Scripts Alexy_Dramon Server Support 1 10/03/2012 10:08 AM
Making free DM scripts and other scripts Kyle. Help Archive 15 28/01/2011 01:24 AM
/do for RP scripts retart441 Help Archive 5 11/08/2009 09:17 AM


All times are GMT. The time now is 07:33 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.