Player not detected when he enters the vehicle?
#1

Problem:
When the player enters the vehicle the code doesnt come.

When I just had the Garbage Minimission it worked fine.

When I added the boat and the Gun it didnt do the code when he entered the vehicle.
I copied the same exact method as I did the garbage

I dont know why it just failed.

The code gets no errors or warnings . . .

http://pastebin.com/m5e5561b6

Please help me "/
Reply
#2

bump
Reply
#3

Do you have adde this code under OnPlayerEnterVehicle() ??
Код:
new ICream = GetPlayerVehicleID(playerid);   
 
if (ICream == GarbageTruck)
{
IsInGarbage[playerid] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /startgmini to start the Garbage Minimission!");
}
if (ICream == Boat)
{
IsInBoat[playerid] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /startbmini to start the Boat Delivery Minimission!");
}
if (ICream == GunTruck)
{
IsInGun[playerid] = 1;
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Type /startgunmini to start the Gun Minimission!");
}
Thank You
-Abhinav
Reply
#4

Yes it is . .
Reply
#5

oh... Tell me if it will be sorted out.. till then i will also work on it

Thank You
-Abhinav
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)