12.05.2011, 12:13
You should fix the GM.
That gamemode doesnt have anything... Heres the code (thats not a mirror)
WTF dude?
pawn Код:
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(24) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(26) : error 010: invalid function or declaration
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(34) : error 021: symbol already defined: "AddPlayerClass"
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(36) : error 021: symbol already defined: "CreateVehicle"
C:\Users\iMarkx\AppData\Local\Temp\Rar$DI09.056\LFREEROAM.pwn(84) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
pawn Код:
#include <a_samp>
#include <dini>
#include <dudb>
#define HELLO_WORLD "Hello World!"
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_RED 0xFF0000AA
#define COLOR_GREEN 0x00FF00AA
#define COLOR_BLUE 0x0000FFAA
#define COLOR_GRAY 0xAFAFAFAA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_LIGHTBLUE 0x0AFFFFAA
#define COLOR_PURPLE 0xFF00FFAA
#define COLOR_ORANGE 0xFFBB00AA
main()
{
print("LFREEROAM sucsessfully loaded! :D");
return 1;
}
AddPlayerClass(skin, Float:x, Float:y, Float:z, Float:Angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
skin = the skin id
x = The X spawn position
y = The Y spawn position
z = The Z spawn position (height)
Angle = The angle, where the player looks at when spawning
weapon1-3 = Weapon 1-3 ([url=http://weedarr.wikidot.com/gunlist]ID)
weapon1-3_ammu = Ammu in weapon 1-3
AddPlayerClass(SKINID, 280, 281, 285, 286, 287, 277, 275, 163, 105, 106, 107, 102, 103, 104, 114, 115, 116, 108, 109, 110, 173, 174, 175, 247, 248, 121, 179, 203, 155, 205, 209, 264, 27, 16, 70, 10, 101, 13, 15, 188, 19, 216, 20);
CreateVehicle(modelid, Float:x, Float:y, Float:z, Float:angle, color1, color2, respawn_delay);
AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2);
AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay);
forward MyFunction();
public MyFunction()
{
return 1;
}
forward KickPlayer(playerid);
public KickPlayer(playerid)
return Kick(playerid);
//credits
//lowrida018:
// * The gamemode/script
// * Outside prison
// * Bank interior
//Dracoblue: [www.dracoblue.net]
// * Djson include
// * Dini include
I//ncognito:
// * Incognito's streamer [https://sampforum.blast.hk/showthread.php?tid=102865]
//Zeex:
// * ZCMD [https://sampforum.blast.hk/showthread.php?tid=91354]
//Alex_Valde:
// * The Prison INTERIOR. (OZ Prison). [https://sampforum.blast.hk/showthread.php?tid=191941]
//******: [www.y-less.com]
// * sscanf
//Slice:
// * Hold studio - For the weapon holdster script
// * Some tutorials
// * Mailer include
//Wups:
// * OnPlayerShootPlayer include [https://sampforum.blast.hk/showthread.php?tid=195439]
//Admantis:
// * After dead, laying on ground IDEA (made by myself) [Afterlife/accept dead : https://sampforum.blast.hk/showthread.php?tid=205223]