- 0
Problema
-
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
IntrebariFaraRaspuns
Salut
Cand dau /giveallcash se pun bani,iar cand dau relog dispar bani
COMANDA:
[pawn]CMD:giveallcash ( playerid , params [ ] )
{
if ( PlayerInfo [ playerid ] [ Level ] >= 4 || IsPlayerAdmin ( playerid ) )
{
new cash;
if ( sscanf ( params , "d" , cash ) )
{
SendClientMessage ( playerid , red , "{FF0000}Foloseste /giveallcash [ suma ]" ) ;
SendClientMessage ( playerid , red , "{FF0000}ATENTIE!:{AD8693}Nu da o suma exagerat de mare" ) ;
}
else
{
for ( new i = 0;i <MAX_PLAYERS;i++ )
{
GivePlayerMoney ( i , cash ) ;
new str [ 150 ];
format ( str , 150 , "{B3B3B3}Administratorul {FF0000}%s {B3B3B3}a dat tuturor playerilor o suma de {FF0000}%d $" , GetName ( playerid ) , cash ) ;
SendClientMessage ( i , red , str ) ;
}
}
}
else
{
SendClientMessage ( playerid , red , "{B3B3B3}Trebuie sa fii macar admin level 5 pentru a folosi aceasta comanda" ) ;
}
return 1;
}[/pawn]
4 answers to this question
Recommended Posts