When player Enters vehicle...help!
#15

What CODE?! i am making my own gamemode...
pawn Код:
public OnPlayerStateChange (playerid, newstate, oldstate)
{
    if(GetPlayerVehicleID(playerid) == deathtruck)
    GetPlayerName(playerid, name, sizeof(name));
  if(strcmp(name,"Death_Angel",true) == 0)
    {
    }
    else
    {
    RemovePlayerFromVehicle(playerid);
    SendClientMessage(playerid, 0xFFFFFFAA, "ERROR: This Vehicle is For DeathAngel ONLY !");
  }
  return 1;
}
I doo this.. and it kicks me out any vehicle i enter... and displays EROR MESAGE
Reply


Messages In This Thread
When player Enters vehicle...help! - by Static_X - 01.02.2009, 16:55
Re: When player Enters vehicle...help! - by Nero_3D - 01.02.2009, 17:21
Re: When player Enters vehicle...help! - by Static_X - 01.02.2009, 17:23
Re: When player Enters vehicle...help! - by Nero_3D - 01.02.2009, 17:26
Re: When player Enters vehicle...help! - by Static_X - 01.02.2009, 17:29
Re: When player Enters vehicle...help! - by Nero_3D - 01.02.2009, 17:30
Re: When player Enters vehicle...help! - by Static_X - 01.02.2009, 17:30
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 18:33
Re: When player Enters vehicle...help! - by Mikep - 02.02.2009, 18:41
Re: When player Enters vehicle...help! - by Shadowww - 02.02.2009, 18:42
Re: When player Enters vehicle...help! - by Mikep - 02.02.2009, 18:44
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 18:44
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 18:56
Re: When player Enters vehicle...help! - by Mikep - 02.02.2009, 19:01
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 19:03
Re: When player Enters vehicle...help! - by Mikep - 02.02.2009, 19:06
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 19:08
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 19:11
Re: When player Enters vehicle...help! - by Mikep - 02.02.2009, 19:16
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 19:34
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 19:39
Re: When player Enters vehicle...help! - by Nero_3D - 02.02.2009, 20:24
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 20:49
Re: When player Enters vehicle...help! - by Static_X - 02.02.2009, 20:55

Forum Jump:


Users browsing this thread: 3 Guest(s)