Quote:
Originally Posted by tanush
Umm Try using OnPlayerStateChange, this is one i got from my vip
pawn Код:
if(newstate == PLAYER_STATE_DRIVER ) { new vid = GetPlayerVehicleID (playerid ); if(vid == vipv && PlayerData [playerid ][vip ] == 0)/* so here if the player is not vip it will kick them out and show this, so if you wanna make team. make it like*/ if(vid == teamcar && != 1) /* that is the first team cause i have 1*/ { RemovePlayerFromVehicle (playerid ); SendClientMessage (playerid,0xFF0000FF, "You are not an vip, Go to http://www.extreme-stuntage.x10.mx to donate for VIP!"); } }
|
I really don't know how to change this code to fit my script :P