02.05.2010, 20:58
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..)
btw it works thanks alot

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;
}
