C:\DOKUME~1\ADMINI~1\Desktop\PARKOU~3\PARKOU~1\GAMEMO~1\PARKOU~1.PWN(46) : error 012: invalid function call, not a valid address
C:\DOKUME~1\ADMINI~1\Desktop\PARKOU~3\PARKOU~1\GAMEMO~1\PARKOU~1.PWN(46) : warning 215: expression has no effect
C:\DOKUME~1\ADMINI~1\Desktop\PARKOU~3\PARKOU~1\GAMEMO~1\PARKOU~1.PWN(46) : error 001: expected token: ";", but found ")"
C:\DOKUME~1\ADMINI~1\Desktop\PARKOU~3\PARKOU~1\GAMEMO~1\PARKOU~1.PWN(46) : error 029: invalid expression, assumed zero
C:\DOKUME~1\ADMINI~1\Desktop\PARKOU~3\PARKOU~1\GAMEMO~1\PARKOU~1.PWN(46) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
#include <a_samp>
#define COLOR_ORANGE 0xFF8000FF
#pragma tabsize 0
new IsValidSkin;
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#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(" Parkour - Mirrors Edge Style by Deathagnel © 2009 ");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
///txtdraw
///////
for(new i = 0; i < 299; i++)
{
if(IsValidSkin(i))
{
AddPlayerClass(i,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);
}
}
UsePlayerPedAnims();
// Don't use these lines if it's a filterscript
SetGameModeText("Parkour v0.1");
AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(188, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(250, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(28, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(121, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(7, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 180.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
SetPlayerPos(playerid, 2032.2887,1544.8514,10.8203);
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xFF8000FF,"Wilkommen auf dem Server.");
SendClientMessage(playerid, 0xFF8000FF,"Dies ist ein Server der Einschließlich um den Parkour handelt.");
SendClientMessage(playerid, 0xFF8000FF,"Wenn du nicht wissen solltest was Parkour ist, oder was man hier macht,");
SendClientMessage(playerid, 0xFF8000FF,"tippe /parkourhelp.");
SendClientMessage(playerid, 0xFF8000FF,"~~~~~~~~~~~~~~~~~~~~");
SendClientMessage(playerid, 0xFF8000FF,"Du musst dich nicht registrieren, dient jedoch zum speichern der Punkte & Erweiterungen im Shop");
SendClientMessage(playerid, 0xFF8000FF,"Tippe /register [passwort] um einen Account anzulegen");
SendClientMessage(playerid, 0xFF8000FF,"Tippe /login [passwort] um dich in einen bereits bestehenden Account einzuloggen.");
new pName[MAX_PLAYER_NAME];
new string[48];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s hat den Server Betreten.", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[56];
GetPlayerName(playerid, pName, sizeof(pName));
switch(reason)
{
case 0: format(string, sizeof(string), "%s hat den Server verlassen. (timeout)", pName);
case 1: format(string, sizeof(string), "%s hat den Server verlassen. (leave)", pName);
case 2: format(string, sizeof(string), "%s hat den Server verlassen. (kick/ban)", pName);
}
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 1925.4318,-1414.5797,13.5703);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Help]________]");
SendClientMessage(playerid, 0xFF8000FF,"/commands");
SendClientMessage(playerid, 0xFF8000FF,"/credits");
SendClientMessage(playerid, 0xFF8000FF,"/parkourhelp");
}
if (strcmp("/commands", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Commands]________]");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
} if (strcmp("/credits", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Credits]________]");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
SendClientMessage(playerid, 0xFF8000FF,"Leer");
}
if (strcmp("/parkourhelp", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFF0000FF,"[________[Parkourhelp]________]");
SendClientMessage(playerid, 0xFF8000FF,"Parkour ist eine Akrobatische Art der schnellen Fortbewegung.");
SendClientMessage(playerid, 0xFF8000FF,"Es wird über Zäune und Dächer gesprungen und meist ein Akrobatischer");
SendClientMessage(playerid, 0xFF8000FF,"Sprung oder Abrolle hinzugefügt.");
}
return 1;
}
public OnPlayerInfoChange(playerid)
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}