12.07.2011, 22:45
I cannot help you if you don't give us what is the VIP variable, like
Example command, if you give us the variable
pawn Код:
pInfo[ playerid ][ pVIPLevel ]
pawn Код:
CMD:vipheal( playerid, params[ ] )
{
if ( pInfo[ playerid ][ pVIPLevel ] < 1 )
return SendClientMessage( playerid, -1, "You are not a VIP Level 1 ++ member!" );
SetPlayerHealth( playerid, 100.0 );
new
tempString[ 128 ],
pName[ 24 ]
;
GetPlayerName( playerid, pName, sizeof pName );
format( tempString, sizeof tempString, "%s has used the Silver VIP Pack to heal himself!", pName );
SendClientMessageToAll( -1, tempString );
return 1;
}