INC Problems
#7

here is the include:
pawn Код:
native Repair(vehicleid);

#include <a_samp>

stock Repair(vehicleid)
{
    RepairVehicle(vehicleid);
}
Here is a snippet of my GM including the include:
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;
}
and here are the errors:
Код:
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.
thats plain and simple my problem D:
Reply


Messages In This Thread
INC Problems - by Zonoya - 04.11.2011, 15:39
Re: INC Problems - by =WoR=G4M3Ov3r - 04.11.2011, 15:41
Re: INC Problems - by Zonoya - 04.11.2011, 15:42
Re: INC Problems - by =WoR=G4M3Ov3r - 04.11.2011, 15:44
Re: INC Problems - by Zonoya - 04.11.2011, 15:48
Re: INC Problems - by =WoR=G4M3Ov3r - 04.11.2011, 15:49
Re: INC Problems - by Zonoya - 04.11.2011, 15:53
Re: INC Problems - by SmiT - 04.11.2011, 16:08
Re: INC Problems - by =WoR=G4M3Ov3r - 04.11.2011, 16:11
Re: INC Problems - by Zonoya - 04.11.2011, 16:16

Forum Jump:


Users browsing this thread: 5 Guest(s)