18.11.2011, 19:05
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;
}
//EDIT:
The code is not laid, but at first glance, I see this error:
pawn Код:
if(GetVehicleModel(vehicleid) == 562||565||559||560||558||561)
pawn Код:
if(GetVehicleModel(vehicleid) == (562 || 565 || 559 || 560 || 558 || 561))