Tuned car filter script problem !
#1

Ok let me explain so ... I want to make a filterscript with tuned cars that i want to add to my gamemode . So i made the filterscript but the does not appear on the game ! can you tell me what's wrong !?!?! . I repeat the car does not appear on the game !
P.S i added my tuned car to my gamemode and it worked !!! but on filter script idk why not .... So here is :



#include <a_samp>

new sultan;

#define FILTERSCRIPT

main ()
{
}

public OnFilterScriptInit ()
{

return 1;
}

public OnGameModeInit ()
{

sultan=AddStaticVehicle(560,-3313.4915,180.1768,4.0198,180.3597,0,0);
AddVehicleComponent(sultan,1010);

return 1;
}

Answer as fast as you can tks ! and explan what's wrong please !!!
Reply
#2

Don't place the code under OnGameModeInit if you want to make a FS, paste it into OnFilterscriptInit

pawn Code:
#include <a_samp>

new sultan;

#define FILTERSCRIPT

main ()
{
}

public OnFilterScriptInit ()
{
sultan=AddStaticVehicle(560,-3313.4915,180.1768,4.0198,180.3597,0,0);
AddVehicleComponent(sultan,1010);
return 1;
}
Reply
#3

hey what i must press so my pawn code appear like you ? P.S i am testing it now !
Reply
#4

You do it like this:

Code:
pawn Code:
//code goes here
Reply
#5

Hey man .. the car doesnt appear ! Maybe i you made sth wrong on your pawno code .... look better or something !
Reply
#6

Lol man i dont understand nothing ! what you mean by
pawn Code:
code and
!!! ?!?!?!
Reply
#7

Change the AddStaticVehicle to a CreateVehicle

Quote:
Originally Posted by Kirchhoff
Lol man i dont understand nothing ! what you mean by
pawn Code:
code and
!!! ?!?!?!
Quote:
Originally Posted by Kirchhoff
hey what i must press so my pawn code appear like you ? P.S i am testing it now !
You asked how to do it foo'. I told you :P
Reply
#8

Oh i saw now ! Srry for 3 post ! really srry please respond at my tuned car spawn
Reply
#9

Look at this:

http://forum.sa-mp.com/index.php?topic=92687.0
Reply
#10

Can you edit my pawno ?! i dont understand nothing from that tutorial make me another one with those 2 please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)