29.03.2011, 17:28
You cannot change that to whatever you want...
try this
try this
pawn Код:
dcmd_jack(playerid, params[])
{
#pragma unused params
new newstate;
if(PlayerInfo[playerid][pJob] != 1) return SendClientMessage(playerid,COLOR_AFOR,"You are not a car jacker !");
if(PlayerInfo[playerid][pJob] == 1)
{
if( newstate == PLAYER_STATE_DRIVER )
{
newstate = GetPlayerVehicleID(playerid);
if(IsAJackAble(newstate))
{
//blablabla
}
}
}
return 1;
}