Need a little help here
#4

Thanks guys
If anyone knows the answer to the second one i'll be glad if you'll post it here ^^
thanks
Edit:
Here is the code(if it helps..)
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  if ((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))
  {
    new Float:x, Float:y, Float:z;
    new Abc;
    new Float:Angle;
    Abc = GetPlayerFacingAngle(playerid, Angle);
    GetPlayerPos(playerid,x,y,z);
    if(GetTickCount() < tick) return SendClientMessage(playerid, COLOR_RED, "You're gonna need to wait 30 seconds to spawn another vehicle.");
    CreateVehicle(411,x,y+6.13,z,Abc+90,0,1,300);
    tick = GetTickCount() + 30000;
    }
    return 1;
}
btw it works thanks alot
Reply


Messages In This Thread
Need a little help here - by [XST]O_x - 02.05.2010, 07:01
Re: Need a little help here - by [XST]O_x - 02.05.2010, 20:20
Re: Need a little help here - by Miguel - 02.05.2010, 20:36
Re: Need a little help here - by [XST]O_x - 02.05.2010, 20:58
Re: Need a little help here - by Torran - 02.05.2010, 21:39
Re: Need a little help here - by [XST]O_x - 02.05.2010, 21:43

Forum Jump:


Users browsing this thread: 1 Guest(s)