- 0
Am Si Eu O 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
zaster
Salut Am SI Eu o problema Cu /setvip
Deci cand dau setvip ... la cineva trb sa aibe id 1 2 sau 3 daca dau peste id 3 adika 4 5 ami da mie vip dece .. ?
uitati pun si comanda
[pawn]CMD:setvip( playerid , params[ ] )
{
if(PlayerInfo[ playerid ][Level] >= 11)
if( sscanf( params , "ui", params[ 0 ], params[ 1 ] ) )
return SendClientMessage( playerid , 0xF60000AA , " Use /setvip [id] [level]" );
if( !IsPlayerConnected( params[ 0 ] ) )
return SendClientMessage( playerid , COLOR_RED , " Player not connected " );
new string[ 128 ];
switch( params[ 1 ] )
{
case 0:
{
GetPlayerVip( params[ 0 ] );
SendClientMessage( params[ 0 ] , 0xF60000AA , " From now you are not V.I.P. anymore " );
}
case 1..4:
{
SetPlayerVip( params[ 0 ], params[ 1 ] );
format( string, 128, " Player set as V.I.P Level %d", params[ 1 ] );
SendClientMessage( playerid , 0xF60000AA , string );
format( string, 128, " From now you are V.I.P. Level %d", params[ 1 ] );
SendClientMessage( params[ 0 ] , 0xF60000AA , string );
}
default: return SendClientMessage( playerid , 0xF60000AA , " Use /setvip [id] [level]" );
}
pVipInfo[ params[ 0 ] ][ DisableVipChat ] = 0;
pVipInfo[ params[ 0 ] ][ IgnoreGoto ] = 0;
pVipInfo[ params[ 0 ] ][ GodMode ] = 0;
pVipInfo[ params[ 0 ] ][ SkinIDd ] = -1;
return 1;
}
[/pawn]
3 answers to this question
Recommended Posts