22.03.2014, 19:10
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp("/racetrack",cmdtext,true))
{
SetPlayerInterior(playerid,0);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid) ,0);
SetVehiclePos(GetPlayerVehicleID(playerid),-521.0,-3643.0,7.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0) ;
}
else
{
SetPlayerPos(playerid,-521.0,-3643.0,7.0);
SetPlayerFacingAngle(playerid,0.0);
}
return 1;
}
error 030 : compound statement not closed at the end of file (started at line 36)
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}
#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
if (!strcmp("/racetrack",cmdtext,true))
{
SetPlayerInterior(playerid,0);
if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
LinkVehicleToInterior(GetPlayerVehicleID(playerid) ,0);
SetVehiclePos(GetPlayerVehicleID(playerid),-521.0,-3643.0,7.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid),0.0) ;
}
else
{
SetPlayerPos(playerid,-521.0,-3643.0,7.0);
SetPlayerFacingAngle(playerid,0.0);
}
return 1;
}
error 030 : compound statement not closed at the end of file (started at line 36)