Jump to content

pomoc auto+tunning


bOmBi

Recommended Posts

napríklad sultán ...

v map je to tak...

 

a preconvertované tak...

AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); //Sultan

Link to comment
Share on other sites

napríklad sultán ...

AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); //Sultan

a co třeba

new auto1,timer1;

forward Timer1();

auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15);

pak timer

timer1 = SetTimer("Timer1",1000,true);

a publick

public Timer1()
{
AddVehicleComponent(auto1 ,/*id componentu*/);
KillTimer(timer1);
return 1;
}

Link to comment
Share on other sites

mám jeden error v tomto riadku auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15); ....error 010: invalid function or declaration

#include 
#include 
#include 


public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xDEEE20FF, "///");
return 0;
}

public OnFilterScriptInit()
{
///
}
new auto1,timer1;

forward Timer1();

auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15);
timer1 = SetTimer("Timer1",1000,true);

public Timer1()
{
AddVehicleComponent(auto1 , 1);
KillTimer(timer1);
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

Link to comment
Share on other sites

To od vodnika nepoužij ...

udělej to takto:

public OnFilterScriptInit()

{

new auto1;

auto1 = AddStaticVehicleEx(560,-2414.11572266,535.89868164,29.73466301,78.00000000,1,-1,15);

AddVehicleComponent(auto1,/* id componentu */);

return 1;

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...