Omg stupid problem!!!
#5

Okey no errors
this is the command

Код:
dcmd_jack(playerid,params[])
{
	#pragma unused params
	if(PlayerInfo[playerid][pJob] != 1) return SendClientMessage(playerid,COLOR_AFOR,"You are not a car jacker !");
	new newstate;
	if(PlayerInfo[playerid][pJob] == 1)
	{
 		if( newstate == PLAYER_STATE_DRIVER )
 		{
        	newstate = GetPlayerVehicleID(playerid);
	        if(IsAJackAble(newstate))
			{
				SendClientMessage(playerid,COLOR_AFOR,"Jacked!");
			}else return SendClientMessage(playerid,COLOR_AFOR,"This car is unjackable !");
        }else return SendClientMessage(playerid,COLOR_AFOR,"You are not the driver !");
	}
	return 1;
}
No errors.
But It allways tells me that im not the driver .
Reply


Messages In This Thread
Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:20
Re: Omg stupid problem!!! - by xir - 29.03.2011, 17:22
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:25
Re: Omg stupid problem!!! - by xir - 29.03.2011, 17:28
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:43
Re: Omg stupid problem!!! - by xir - 29.03.2011, 17:53
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 17:58
Re: Omg stupid problem!!! - by xir - 29.03.2011, 18:02
Re: Omg stupid problem!!! - by bijoyekuza - 29.03.2011, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)