[HELP] Car repawn
#7

Quote:
Originally Posted by Rizard
Asuming what he says is true,

You should be using a timer that checks what keys are pressed every ... milliseconds. (in stead of what you are doing atm)

Using GetPlayerKeys...

for example

pawn Код:
public CheckKeys(playerid)
{
  if(GetPlayerKeys(playerid)==...)
  {
    ....
  }
}

OnPlayerEnterVehicle()
{
 if(vehicleid==...)
 {
   SetTimer("CheckKeys", 200, 1);
 }
}
More info about the GetPlayerKeys.... here https://sampwiki.blast.hk/wiki/GetPlayerKeys
I don't really get you , did you read my question i want them to respawn at the starting place, and you are trying to explain me how to make it work.
And the funniest is they allready work!!! only the spawn place doesn't work correctly because it changes after transforming,
But just so that you know the keys DO work this way!
Reply


Messages In This Thread
[HELP] Car repawn - by WThieves - 21.02.2010, 13:32
Re: [HELP] Car repawn - by Rizard - 21.02.2010, 14:48
Re: [HELP] Car repawn - by WThieves - 21.02.2010, 15:13
Re: [HELP] Car repawn - by Rizard - 21.02.2010, 15:33
Re: [HELP] Car repawn - by WThieves - 21.02.2010, 18:06
Re: [HELP] Car repawn - by Rizard - 21.02.2010, 19:21
Re: [HELP] Car repawn - by WThieves - 24.02.2010, 16:46

Forum Jump:


Users browsing this thread: 2 Guest(s)