Help me out with cars
#2

dont use && use ||
pawn Код:
if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == bumpcar1 || GetPlayerVehicleID(playerid) == bumpcar || GetPlayerVehicleID(playerid) == bumpcar2 || GetPlayerVehicleID(playerid) == bumpcar3 || GetPlayerVehicleID(playerid) == bumpcar4)
{
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, COLOR_RED, "DISCLAIMER:Welcome to FUN-BUMP DEATH CHALLENGE !");
SendClientMessage(playerid, COLOR_GREEN, "DISCLAIMER:Type /startbump to start the FUN-BUMP DEATH CHALLENGE !");
}
That should work, The way you were doing it was checking if thier new vehicle id is all of them ids put together
Reply


Messages In This Thread
Help me out with cars - by Static_X - 07.02.2009, 18:25
Re: Help me out with cars - by ICECOLDKILLAK8 - 07.02.2009, 18:27
Re: Help me out with cars - by Static_X - 07.02.2009, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)