Cant to use Scpirt with...
#2

pawn Код:
//#define FILTERSCRIPT

#include <a_samp>
#define COLOR_DARKORANGE 0xFF3F00AA
#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Spoilers and Wheels By DexToxz");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("Drift/Race/Stunt/Drag");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

public OnGameModeExit()
{
return 1;
}
First, you should consider whether you are creating FS or GM. Need to remove unnecessary.

//EDIT:
The code is not laid, but at first glance, I see this error:
pawn Код:
if(GetVehicleModel(vehicleid) == 562||565||559||560||558||561)
In my opinion, ID models should be in brackets
pawn Код:
if(GetVehicleModel(vehicleid) == (562 || 565 || 559 || 560 || 558 || 561))
Reply


Messages In This Thread
Cant to use Scpirt with... - by DexToxz - 18.11.2011, 18:59
Re: Cant to use Scpirt with... - by LeNy - 18.11.2011, 19:05
Re: Cant to use Scpirt with... - by DexToxz - 18.11.2011, 19:17
Re: Cant to use Scpirt with... - by LeNy - 18.11.2011, 19:29
Re: Cant to use Scpirt with... - by DexToxz - 18.11.2011, 19:34
Re: Cant to use Scpirt with... - by LeNy - 18.11.2011, 19:36
Re: Cant to use Scpirt with... - by Unte99 - 18.11.2011, 20:15
Re: Cant to use Scpirt with... - by Psymetrix - 19.11.2011, 01:55

Forum Jump:


Users browsing this thread: 1 Guest(s)