*** Terrible Title Removed
#1

i forgot, i want so if hes admin he doesent get removed from vehicle, only if im not admin to remove me from vehicle..

PHP код:
if(IsPlayerAdmin(playerid))
{
RemovePlayerFromVehicle(playerid);
return 
1;

Reply
#2

if(!IsPlayerAdmin(playerid))
{
RemovePlayerFromVehicle(playerid);
return 1;
}
Reply
#3

Exlamation mark means if player is NOT an admin. You can use exlamation mark or just after playerid closing bracket use double equal and put value 0 which will mean the same.
Reply
#4

Quote:
Originally Posted by Virus.
Посмотреть сообщение
if(!IsPlayerAdmin(playerid))
{
RemovePlayerFromVehicle(playerid);
return 1;
}
so this will not remove admins from vehicles?
Reply
#5

Did you read my post and his?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)