Mind helping me? (Pro scripter) nevermind..
#8

Fixed. but after removing currentveh
pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if((newkeys & KEY_FIRE) && !(oldkeys & KEY_FIRE))
    {
        if(IsPlayerInAnyVehicle(playerid))
        {
            new Float:vehx, Float:vehy, Float:vehz,Float:vehz_rot;
            GetXYInFrontOfPlayer(playerid,vehx,vehy,5);
            CreateObject(18648,vehx , vehy, vehz, vehz_rot,0,0,0);
        }
    }
    return 1;
}
PS: still looking for help floatsin and floatcos to speed move the object, darn it's 3:10 AM.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)