27.11.2012, 12:01
Hey guys i have a problem with STRTOC
This is all my gm(made by me)
Well theres my strtoc
Well i wanna add Public OnDialogResponse...
and when i add ondialogresponse i take these
errors
Theres a problem with it?
This is all my gm(made by me)
pawn Код:
#include <a_samp>
#include <core>
#include <float>
#pragma tabsize 0
#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define PocketMoney 50000 // Amount player recieves on spawn.
#define INACTIVE_PLAYER_ID 255
#define GIVECASH_DELAY 5000 // Time in ms between /givecash commands.
#define NUMVALUES 4
#define IsPlayerNotInVehicle(%0) (!IsPlayerInAnyVehicle(%0))
forward Givecashdelaytimer(playerid);
forward SetPlayerRandomSpawn(playerid);
forward SetupPlayerForClassSelection(playerid);
forward GameModeExitFunc();
forward SendPlayerFormattedText(playerid, const str[], define);
forward public SendAllFormattedText(playerid, const str[], define);
//------------------------------------------------------------------------------------------------------
new iSpawnSet[MAX_PLAYERS];
//Round code stolen from mike's Manhunt :P
//new gRoundTime = 3600000; // Round time - 1 hour
//new gRoundTime = 1200000; // Round time - 20 mins
//new gRoundTime = 900000; // Round time - 15 mins
//new gRoundTime = 600000; // Round time - 10 mins
//new gRoundTime = 300000; // Round time - 5 mins
//new gRoundTime = 120000; // Round time - 2 mins
//new gRoundTime = 60000; // Round time - 1 min
new gActivePlayers[MAX_PLAYERS];
new gLastGaveCash[MAX_PLAYERS];
//------------------------------------------------------------------------------------------------------
main()
{
print("\n----------------------------------");
print(" Running LVDM ~MoneyGrub\n");
print(" Coded By");
print(" Jax");
print("----------------------------------\n");
}
//------------------------------------------------------------------------------------------------------
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerPickUpPickup(playerid, pickupid)
{
//new s[256];
//format(s,256,"Picked up %d",pickupid);
//SendClientMessage(playerid,0xFFFFFFFF,s);
}
//------------------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------------------
/*public GrubModeReset()
{
for(new i=0; i<MAX_PLAYERS; i++)
{
if (IsPlayerConnected(i))
{
SetPlayerScore(i, PocketMoney);
SetPlayerRandomSpawn(i, classid);
}
}
}*/
//------------------------------------------------------------------------------------------------------
public OnPlayerConnect(playerid)
{
GameTextForPlayer(playerid,"~w~SA-MP: ~r~GREEK ~g~FREEROAM",5000,5);
SendClientMessage(playerid, COLOR_RED, "Kalos Orisate sto Greek Freeroam By Terminator");
SendClientMessage(playerid, COLOR_GREEN, "Gia na Deis lista commands grapse /help");
SendClientMessage(playerid, COLOR_YELLOW, "Kalh diaskedash kai panta akoloutha /rules");
SetWorldTime(0);
gActivePlayers[playerid]++;
gLastGaveCash[playerid] = GetTickCount();
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDisconnect(playerid)
{
gActivePlayers[playerid]--;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerCommandText(playerid, cmdtext[])
{
new string[256];
new playermoney;
new sendername[MAX_PLAYER_NAME];
new giveplayer[MAX_PLAYER_NAME];
new cmd[256];
new giveplayerid, moneys, idx;
if(strcmp(cmd, "/givecash", true) == 0) {
new tmp[256];
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]");
return 1;
}
giveplayerid = strval(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp)) {
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /givecash [playerid] [amount]");
return 1;
}
moneys = strval(tmp);
//printf("givecash_command: %d %d",giveplayerid,moneys);
if (IsPlayerConnected(giveplayerid)) {
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
playermoney = GetPlayerMoney(playerid);
if (moneys > 0 && playermoney >= moneys) {
GivePlayerMoney(playerid, (0 - moneys));
GivePlayerMoney(giveplayerid, moneys);
format(string, sizeof(string), "You have sent %s(player: %d), $%d.", giveplayer,giveplayerid, moneys);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string, sizeof(string), "You have recieved $%d from %s(player: %d).", moneys, sendername, playerid);
SendClientMessage(giveplayerid, COLOR_YELLOW, string);
printf("%s(playerid:%d) has transfered %d to %s(playerid:%d)",sendername, playerid, moneys, giveplayer, giveplayerid);
}
else {
SendClientMessage(playerid, COLOR_YELLOW, "Invalid transaction amount.");
}
}
else {
format(string, sizeof(string), "%d is not an active player.", giveplayerid);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
return 1;
}
//= - =- = - = - = - = - = - = - = VEHICLE COMMANDS = - = - = - = - = - = - =//
if ( strcmp ( cmdtext , "/lock", true)==0)
{
if (IsPlayerInAnyVehicle(playerid))
{
new State;
State=GetPlayerState(playerid);
if (State!=PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, 0x6ba500ff, "Sorry, only the driver can lock the doors...");
return 1;
}
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
if (i != playerid)
{
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 1);
}
}
SendClientMessage(playerid, COLOR_RED, "Your vehicle has been locked!");
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid, 1056, X, Y, Z);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You aren't in a vehicle!");
}
return 1;
}
if ( strcmp ( cmdtext , "/unlock", true)==0)
{
if (IsPlayerInAnyVehicle(playerid))
{
new State;
State=GetPlayerState(playerid);
if (State!=PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid, 0x6ba500ff, "Only driver can unlock or lock the car doors.");
return 1;
}
new i;
for(i=0;i<MAX_PLAYERS;i++)
{
SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid), i, 0, 0);
}
SendClientMessage(playerid, 0x6ba500ff,"Your vehicle has been unlocked.");
new Float:X, Float:Y, Float:Z;
GetPlayerPos(playerid, X, Y, Z);
PlayerPlaySound(playerid, 1057, X, Y, Z);
}
else
{
SendClientMessage(playerid, 0x6ba500ff, "You are not in a vehicle.");
}
return 1;
}
if(strcmp(cmdtext,"/para",true)==0)
{
GivePlayerWeapon(playerid,46,1);
SendClientMessage(playerid,COLOR_YELLOW,"You received a parachute!");
return 1;
}
if(strcmp(cmdtext,"/rules", true) ==0 )
{
ShowPlayerDialog(playerid,COLOR_YELLOW,0,"Server Rules","1.Do not use Hacks / Cheats.\n2.Do not spam the chat.\n3.Respect the people in the server, no insulting or swearing.\n4.Do not pretend to be admin.\n5.Do not advertise other servers here.\nDon't Use Hydra , Tank , Hunter outside DM-zones!","Okay","Cancel");
return 1;
}
return 0;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerSpawn(playerid)
{
GivePlayerMoney(playerid, PocketMoney);
SetWorldTime(0);
SetPlayerInterior(playerid,0);
SetPlayerPos(playerid,2022.6644,1007.2059,10.8203);
GivePlayerWeapon(playerid, 28, 5000000000);
GivePlayerWeapon(playerid, 29, 5000000000);
GivePlayerWeapon(playerid, 30, 5000000000);
return 1;
}
//------------------------------------------------------------------------------------------------------
public OnPlayerDeath(playerid, killerid, reason)
{
new playercash;
if(killerid == INVALID_PLAYER_ID) {
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);
ResetPlayerMoney(playerid);
} else {
SendDeathMessage(killerid,playerid,reason);
SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
playercash = GetPlayerMoney(playerid);
if (playercash > 0) {
GivePlayerMoney(killerid, playercash);
ResetPlayerMoney(playerid);
}
else
{
}
}
return 1;
}
/* public OnPlayerDeath(playerid, killerid, reason)
{ haxed by teh mike
new name[MAX_PLAYER_NAME];
new string[256];
new deathreason[20];
new playercash;
GetPlayerName(playerid, name, sizeof(name));
GetWeaponName(reason, deathreason, 20);
if (killerid == INVALID_PLAYER_ID) {
switch (reason) {
case WEAPON_DROWN:
{
format(string, sizeof(string), "*** %s drowned.)", name);
}
default:
{
if (strlen(deathreason) > 0) {
format(string, sizeof(string), "*** %s died. (%s)", name, deathreason);
} else {
format(string, sizeof(string), "*** %s died.", name);
}
}
}
}
else {
new killer[MAX_PLAYER_NAME];
GetPlayerName(killerid, killer, sizeof(killer));
if (strlen(deathreason) > 0) {
format(string, sizeof(string), "*** %s killed %s. (%s)", killer, name, deathreason);
} else {
format(string, sizeof(string), "*** %s killed %s.", killer, name);
}
}
SendClientMessageToAll(COLOR_RED, string);
{
playercash = GetPlayerMoney(playerid);
if (playercash > 0)
{
GivePlayerMoney(killerid, playercash);
ResetPlayerMoney(playerid);
}
else
{
}
}
return 1;
}*/
//------------------------------------------------------------------------------------------------------
public OnPlayerRequestClass(playerid, classid)
{
iSpawnSet[playerid] = 0;
SetupPlayerForClassSelection(playerid);
return 1;
}
public SetupPlayerForClassSelection(playerid)
{
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);
}
public GameModeExitFunc()
{
GameModeExit();
}
public OnGameModeInit()
{
SetGameModeText("Greek_Freeroam");
SetWorldTime(0);
ShowPlayerMarkers(1);
ShowNameTags(1);
EnableStuntBonusForAll(0);
SetTimer("AutoFix", 100, true);
// Player Class's
AddPlayerClass(0,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(266,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(267,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(268,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(269,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(270,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(271,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(272,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(280,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(281,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(282,1958.3783,1343.1572,15.3746,270.1425,0,0,24,300,-1,-1);
AddPlayerClass(283,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(284,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(285,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(286,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(287,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(254,1958.3783,1343.1572,15.3746,0.0,0,0,24,300,-1,-1);
AddPlayerClass(255,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(256,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(257,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(258,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(259,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(260,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(261,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(262,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(263,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(264,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(274,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(275,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(276,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(1,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(2,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(290,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(291,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(292,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(293,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(294,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(295,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(296,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(297,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(298,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(299,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(277,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(278,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(279,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(288,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(47,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(48,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(49,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(50,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(51,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(52,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(53,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(54,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(55,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(56,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(57,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(58,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(59,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(60,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(61,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(62,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(63,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(64,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(66,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(67,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(68,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(69,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(70,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(71,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(72,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(73,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(75,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(76,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(78,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(79,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(80,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(81,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(82,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(83,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(84,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(85,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(87,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(88,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(89,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(91,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(92,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(93,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(95,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(96,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(97,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(98,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(99,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(100,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(101,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(102,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(103,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(104,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(105,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(106,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(107,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(108,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(109,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(110,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(111,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(112,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(113,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(114,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(115,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(116,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(117,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(118,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(120,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(121,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(122,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(123,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(124,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(125,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(126,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(127,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(128,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(129,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(131,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(133,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(134,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(135,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(136,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(137,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(138,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(139,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(140,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(141,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(142,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(143,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(144,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(145,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(146,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(147,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(148,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(150,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(151,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(152,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(153,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(154,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(155,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(156,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(157,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(158,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(159,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(160,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(161,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(162,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(163,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(164,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(165,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(166,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(167,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(168,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(169,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(170,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(171,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(172,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(173,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(174,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(175,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(176,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(177,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(178,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(179,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(180,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(181,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(182,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(183,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(184,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(185,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(186,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(187,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(188,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(189,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(190,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(191,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(192,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(193,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(194,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(195,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(196,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(197,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(198,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(199,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(200,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(201,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(202,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(203,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(204,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(205,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(206,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(207,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(209,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(210,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(211,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(212,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(213,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(214,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(215,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(216,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(217,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(218,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(219,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(220,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(221,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(222,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(223,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(224,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(225,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(226,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(227,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(228,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(229,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(230,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(231,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(232,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(233,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(234,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(235,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(236,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(237,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(238,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(239,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(240,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(241,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(242,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(243,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(244,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(245,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(246,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(247,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(248,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(249,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(250,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(251,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddPlayerClass(253,1958.3783,1343.1572,15.3746,269.1425,0,0,24,300,-1,-1);
AddStaticPickup(371, 15, 1710.3359,1614.3585,10.1191); //para
AddStaticPickup(371, 15, 1964.4523,1917.0341,130.9375); //para
AddStaticPickup(371, 15, 2055.7258,2395.8589,150.4766); //para
AddStaticPickup(371, 15, 2265.0120,1672.3837,94.9219); //para
AddStaticPickup(371, 15, 2265.9739,1623.4060,94.9219); //para
AddStaticVehicleEx(411,2220.60009766,-2698.19995117,13.30000019,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(411,2041.69995117,984.40002441,10.50000000,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(411,2041.40002441,992.20001221,10.50000000,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(411,2041.40002441,999.09997559,10.50000000,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(411,2041.50000000,1016.79998779,10.50000000,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(411,2041.50000000,1023.70001221,10.50000000,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(411,2041.59997559,1031.30004883,10.50000000,0.00000000,-1,-1,15); //Infernus
AddStaticVehicleEx(522,2020.90002441,1002.59997559,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2022.80004883,1002.59997559,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2024.50000000,1002.50000000,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2026.00000000,1002.59997559,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2020.90002441,1013.29998779,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2022.80004883,1013.09997559,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2024.69995117,1013.09997559,10.50000000,0.00000000,-1,-1,15); //NRG-500
AddStaticVehicleEx(522,2026.09997559,1013.09997559,10.50000000,0.00000000,-1,-1,15); //NRG-500
CreateObject(8557,2246.50000000,-2704.00000000,10.69999981,0.00000000,0.00000000,90.00000000); //object(vgshseing27) (1)
CreateObject(8171,2247.60009766,-2793.19995117,12.19999981,0.00000000,0.00000000,0.00000000); //object(vgssairportland06) (1)
CreateObject(8171,2210.79980469,-2793.09960938,12.19999981,0.00000000,0.00000000,0.00000000); //object(vgssairportland06) (2)
CreateObject(8171,2166.39990234,-2792.39990234,15.39999962,0.00000000,25.00000000,0.00000000); //object(vgssairportland06) (3)
CreateObject(8171,2185.60009766,-2792.69995117,12.19999981,0.00000000,10.00000000,0.00000000); //object(vgssairportland06) (4)
CreateObject(8171,2148.80004883,-2792.69995117,23.39999962,0.00000000,35.00000000,0.00000000); //object(vgssairportland06) (5)
CreateObject(8171,2275.39990234,-2793.00000000,13.39999962,0.00000000,9.99755859,180.00000000); //object(vgssairportland06) (6)
CreateObject(8171,2295.60009766,-2792.89990234,17.39999962,0.00000000,24.99938965,180.00000000); //object(vgssairportland06) (7)
CreateObject(8171,2313.80004883,-2793.19995117,25.79999924,0.00000000,34.99694824,180.00000000); //object(vgssairportland06) (8)
CreateObject(8557,2241.89990234,-2704.80004883,10.50000000,0.00000000,0.00000000,90.00000000); //object(vgshseing27) (2)
CreateObject(8557,2237.10009766,-2704.19995117,10.39999962,0.00000000,0.00000000,90.00000000); //object(vgshseing27) (3)
CreateObject(8171,2132.30004883,-2792.69995117,34.90000153,0.00000000,50.00000000,0.00000000); //object(vgssairportland06) (9)
CreateObject(8171,2120.00000000,-2792.79980469,46.29999924,0.00000000,80.00000000,0.00000000); //object(vgssairportland06) (10)
CreateObject(8171,2330.80004883,-2793.60009766,38.50000000,0.00000000,310.00000000,0.00000000); //object(vgssairportland06) (11)
CreateObject(8171,2343.39990234,-2793.69995117,53.00000000,0.00000000,80.00000000,179.99450684); //object(vgssairportland06) (12)
CreateObject(8171,2346.69995117,-2793.80004883,72.30000305,0.00000000,90.00000000,179.99450684); //object(vgssairportland06) (12)
CreateObject(8171,2116.60009766,-2792.10009766,65.59999847,0.00000000,90.00000000,359.99450684); //object(vgssairportland06) (12)
CreateObject(10871,2067.80004883,-2826.10009766,76.19999695,0.00000000,0.00000000,28.00000000); //object(blacksky_sfse) (1)
CreateObject(10871,2070.19995117,-2752.50000000,73.09999847,0.00000000,0.00000000,27.99865723); //object(blacksky_sfse) (2)
CreateObject(10871,2387.50000000,-2760.69995117,86.30000305,0.00000000,0.00000000,207.99865723); //object(blacksky_sfse) (3)
CreateObject(10871,2392.50000000,-2834.50000000,98.00000000,0.00000000,0.00000000,207.99865723); //object(blacksky_sfse) (4)
CreateObject(3877,2234.89990234,-2706.00000000,13.60000038,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (1)
CreateObject(3877,2248.19995117,-2705.89990234,13.89999962,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (2)
CreateObject(3877,2248.10009766,-2723.60009766,13.89999962,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (3)
CreateObject(3877,2235.00000000,-2723.69995117,13.60000038,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (4)
CreateObject(5232,2263.39990234,-2687.19995117,20.60000038,0.00000000,0.00000000,0.00000000); //object(snpedteew9_las2) (1)
CreateObject(7089,2103.50000000,-2787.39990234,91.90000153,0.00000000,0.00000000,272.00000000); //object(newscafldvegs02) (1)
CreateObject(972,2204.80004883,-2720.50000000,12.19999981,0.00000000,0.00000000,268.00000000); //object(tunnelentrance) (1)
CreateObject(972,2219.69995117,-2720.69995117,12.19999981,0.00000000,0.00000000,267.99499512); //object(tunnelentrance) (2)
CreateObject(972,2257.69995117,-2721.30004883,12.19999981,0.00000000,0.00000000,269.99499512); //object(tunnelentrance) (3)
CreateObject(972,2276.10009766,-2721.00000000,12.19999981,0.00000000,0.00000000,271.99450684); //object(tunnelentrance) (4)
CreateObject(3877,2019.00000000,1000.09997559,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (5)
CreateObject(3877,2022.50000000,999.29998779,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (6)
CreateObject(3877,2027.19995117,999.29998779,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (7)
CreateObject(3877,2028.59997559,1000.50000000,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (8)
CreateObject(3877,2032.00000000,1000.59997559,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (9)
CreateObject(3877,2034.69995117,1000.70001221,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (10)
CreateObject(3877,2036.80004883,1000.70001221,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (11)
CreateObject(3877,2019.09997559,1015.29998779,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (12)
CreateObject(3877,2022.09997559,1016.50000000,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (13)
CreateObject(3877,2027.09997559,1016.29998779,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (14)
CreateObject(3877,2028.50000000,1014.70001221,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (15)
CreateObject(3877,2031.90002441,1014.50000000,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (16)
CreateObject(3877,2035.00000000,1014.59997559,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (17)
CreateObject(3877,2037.09997559,1014.59997559,11.50000000,0.00000000,0.00000000,0.00000000); //object(sf_rooflite) (18)
CreateObject(7916,2020.59997559,1042.19995117,13.69999981,0.00000000,0.00000000,86.00000000); //object(vegaswaterfall02) (1)
CreateObject(8483,2020.69995117,1009.79998779,24.89999962,0.00000000,0.00000000,0.00000000); //object(pirateland02_lvs) (1)
CreateObject(9833,2032.80004883,997.29998779,13.00000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (1)
CreateObject(9833,2032.69995117,1020.79998779,13.00000000,0.00000000,0.00000000,0.00000000); //object(fountain_sfw) (2)
CreateObject(3510,2036.59997559,985.40002441,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (1)
CreateObject(3510,2036.69995117,988.59997559,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (2)
CreateObject(3510,2036.80004883,992.09997559,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (3)
CreateObject(3510,2036.80004883,995.59997559,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (4)
CreateObject(3510,2036.80004883,1018.59997559,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (5)
CreateObject(3510,2036.59997559,1022.20001221,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (6)
CreateObject(3510,2036.69995117,1025.90002441,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (7)
CreateObject(3510,2036.90002441,1029.69995117,9.80000019,0.00000000,0.00000000,0.00000000); //object(vgsn_nitree_r02) (8)
CreateObject(970,2037.00000000,998.29998779,10.39999962,0.00000000,0.00000000,274.00000000); //object(fencesmallb) (1)
CreateObject(970,2037.40002441,1016.79998779,10.39999962,0.00000000,0.00000000,269.99902344); //object(fencesmallb) (2)
CreateObject(1634,2062.80004883,823.40002441,7.09999990,0.00000000,0.00000000,180.00000000); //object(landjump2) (1)
CreateObject(1634,2058.69995117,823.50000000,7.19999981,0.00000000,0.00000000,179.99450684); //object(landjump2) (4)
CreateObject(1634,2054.50000000,823.59997559,7.19999981,0.00000000,0.00000000,179.99450684); //object(landjump2) (5)
CreateObject(1634,2067.00000000,823.29998779,7.19999981,0.00000000,0.00000000,179.99450684); //object(landjump2) (6)
CreateObject(1634,2071.19995117,823.50000000,7.19999981,0.00000000,0.00000000,179.99450684); //object(landjump2) (7)
CreateObject(13636,2068.39990234,1024.50000000,11.89999962,0.00000000,0.00000000,0.00000000); //object(logramps) (1)
CreateObject(13641,2079.89990234,990.90002441,9.80000019,0.00000000,0.00000000,0.00000000); //object(kickramp04) (1)
CreateObject(1634,2050.19995117,823.70001221,7.19999981,0.00000000,0.00000000,179.99450684); //object(landjump2) (8)
CreateObject(4148,2143.10009766,1024.69995117,33.70000076,50.00000000,0.00000000,290.00000000); //object(roads13_lan) (1)
CreateObject(1634,2168.19995117,1073.69995117,79.90000153,0.00000000,0.00000000,30.00000000); //object(landjump2) (9)
CreateObject(6189,2073.69995117,907.09997559,22.10000038,330.00000000,0.00000000,0.00000000); //object(gaz_pier1) (1)
CreateObject(17068,2069.50000000,854.09997559,68.19999695,25.00000000,0.00000000,178.00000000); //object(xjetty01) (1)
CreateObject(17068,2073.69995117,854.00000000,68.19999695,335.00000000,0.00000000,359.99499512); //object(xjetty01) (2)
return 1;
}
public OnGameModeExit()
{
return 1;
}
public AutoFix(playerid)
{
if(IsPlayerInAnyVehicle(playerid))
{
new vid = GetPlayerVehicleID(playerid), Float:health;
RepairVehicle(GetPlayerVehicleID(playerid));
GetVehicleHealth(vid , health);
if(health < 1000) SetVehicleHealth(vid , 1000.0);
}
}
public SendPlayerFormattedText(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessage(playerid, 0xFF004040, tmpbuf);
}
public SendAllFormattedText(playerid, const str[], define)
{
new tmpbuf[256];
format(tmpbuf, sizeof(tmpbuf), str, define);
SendClientMessageToAll(0xFFFF00AA, tmpbuf);
}
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
pawn Код:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
and when i add ondialogresponse i take these
errors
pawn Код:
C:\DOCUME~1\VASILIS\6808~1\CALLOF~1\GAMEMO~1\lvdm.pwn(717) : warning 235: public function lacks forward declaration (symbol "AutoFix")
C:\DOCUME~1\VASILIS\6808~1\CALLOF~1\GAMEMO~1\lvdm.pwn(950) : error 030: compound statement not closed at the end of file (started at line 761)
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.