Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //===============================VIP========================================
- else if ( cmd == "buyarmour" )
- {
- if ( !player.IsSpawned ) ePrivMessage( "[Error] - You have to spawn to use this command.", player );
- else if ( player.Armour == 100 ) ePrivMessage( "[Error] - Your armour is already %100.", player );
- else if ( player.Cash < 30000 ) ePrivMessage( "[Error] - You need $30000 to buy armour.", player );
- else if ( Fight[ player.ID ] == true ) ePrivMessage( "[Error] - You are in fight zone, you cannot use this command.", player );
- else
- {
- local q = QuerySQL( db, "SELECT Name FROM vip");
- if ( GetSQLColumnData( q, 0 ) )
- {
- ePrivMessage( "[VIP] - You're buy armour.", player );
- NewTimer( "army", 1, 1,player);
- }
- else
- {
- ClientMessage( "[Error] - You're not VIP!!!", player,255,255,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement