Strange thing with RemovePlayerFromVehicle...
#1

Hey,

The function RemovePlayerFromVehicle doesn't work for me?
Is this a 0.3 error or am I just the only one ?

I have this:

SetTimer("ejecttimer",3000,false);

public ejecttimer(playerid)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid, 0xffffffff, "This vehicle is locked");
return 1;
}

it sends the message but doesn't ejects the player?
What am I doing wrong ?

Thanks
Reply
#2

Use SetTimerEx to pass an 'playerid' parameter.
Reply
#3

Got it working already

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)