04.11.2011, 15:53
here is the include:
Here is a snippet of my GM including the include:
and here are the errors:
thats plain and simple my problem D:
pawn Код:
native Repair(vehicleid);
#include <a_samp>
stock Repair(vehicleid)
{
RepairVehicle(vehicleid);
}
pawn Код:
#include <a_samp>
#include <core>
#include <float>
#include <Usefull_Functions>
#pragma tabsize 0
main()
{
print("\n----------------------------------");
print(" Bare Script\n");
print("----------------------------------\n");
}
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,"~r~Call Of Duty: ~b~MW~g~2~b~(Roleplay)",5000,5);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
return 0;
}
public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,0);
return 1;
}
Код:
C:\Documents and Settings\Rhys\Desktop\samp03dsvr_RC7_win32\pawno\include\Usefull_Functions.inc(6) : error 021: symbol already defined: "Repair" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.