[Help] Command Work's, 50%
#1

i got a command /vr. if im out a car. i get this:


[Server]: You are not a Vip Member
[Server]: You are not in a vehicle!
But i setted myself vip.
Who can fix this?

Код:
	if(strcmp(cmdtext, "/vr", true) == 0)
		{
			if(IsPlayerVipMember(playerid))
			{
				if(IsPlayerInAnyVehicle(playerid))
				{
					SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);
					RepairVehicle(GetPlayerVehicleID(playerid));
				}
				else SendClientMessage(playerid, COLOR_RED, "[SERVER]: You are not a Vip Member!");
				{
					if(!IsPlayerInAnyVehicle(playerid))
					SendClientMessage(playerid, COLOR_RED, "[SERVER]: You are not in a vehicle!");
				}
				return 1;
			}
		}
Reply


Messages In This Thread
[Help] Command Work's, 50% - by dclaw - 22.02.2010, 16:39
Re: [Help] Command Work's, 50% - by woot - 22.02.2010, 16:47
Re: [Help] Command Work's, 50% - by dclaw - 22.02.2010, 16:54
Re: [Help] Command Work's, 50% - by Miguel - 22.02.2010, 17:11

Forum Jump:


Users browsing this thread: 1 Guest(s)