- 0
Problema /GIVEALLCOINS
-
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
SkyLeAs
Problema intalnita (descriere):Cand dau /giveallcoins nu le da coins la jucatori
Ero(area / rile) / warning-(ul / urile):N/a
Liniile de cod / sursa / script-ul(obligatoriu):
CMD:giveallcoins( playerid, params[ ] ) { if ( !IsPlayerAdmin( playerid ) ) return SendError( playerid, "You need to be logged as RCON admin before use this command!" ); new sCoins, Player ; if ( sscanf( params, "i", sCoins ) ) return SendClientMessage( playerid, COLOR_ULTRARED, "USAGE: {33CCFF}/giveallcoins [Coins]" ); if ( sCoins < 0 ) return SendError( playerid, "Invalid Amount!" ); if ( PlayerInfo[ Player ][ Level ] > PlayerInfo[ playerid ][ Level ] ) return SendError( playerid, "You cannot use this command on this admin" ); format( gsString, sizeof( gsString ), "[RCON] %s has give %d coins to all players.", PlayerName( playerid ), sCoins ); Log_( "log_coins" , "Text" , gsString ) ; FormatMSG( playerid, COLOR_ABLUE, "You have sent to all players %d coins", sCoins ); format( gsString, sizeof( gsString ), "Administrator %s has give all players %d coins", PlayerName( playerid ), sCoins ); SendClientMessageToAll( COLOR_ABLUE, gsString ); return ( 1 ); }Imagini / Video (optional):~Ati incercat sa rezolvati singur?:Da am incercat si nu am reusit sa repar problema
6 answers to this question
Recommended Posts