Code:
C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(620) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(622) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(624) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(627) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(629) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(632) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(634) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(642) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(644) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(652) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(654) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(662) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(664) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(667) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(670) : error 010: invalid function or declaration C:\Users\Jaua\Desktop\Server Desde 0\gamemodes\Jaua.pwn(1325) : warning 203: symbol is never used: "PlayerInfo" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 15 Errors.
PHP Code:
//-----------------------------------[ MGET ] -----------------------------------
if(strcmp(cmd, "/mget", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pJob] != 9)
{
SendClientMessage(playerid,COLOR_WHITE," You are not a arms dealer!");
return 1;
}
if(MatsHolding[playerid] >= 8)
{
SendClientMessage(playerid, COLOR_WHITE, "You can't hold any more Materials Packages!");
return 1;
}
if(PlayerToPoint(3.0, playerid, 1410.475830,-1305.475463,9.399000))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You bought 8 A Material Packages for $800.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Drive to the marked factory to get your mats.");
GivePlayerMoney(playerid, - 800);
MatsHolding[playerid] = 8;
PlayerInfo[playerid][pGotA] = 1;
SetPlayerCheckpoint(playerid,291.282897,-1502.747924,24.921899,3.5);
return 1;
}
if(PlayerToPoint(3.0, playerid, 1514.355346,-1232.907348,16.328100))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You bought 8 B Material Packages for $1600.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Drive to the marked factory to get your mats.");
GivePlayerMoney(playerid, - 1500);
MatsHolding[playerid] = 8;
PlayerInfo[playerid][pGotB] = 1;
SetPlayerCheckpoint(playerid,1684.079467,-2286.318359,-1.236400,3.5);
return 1;
}
if(PlayerToPoint(3.0, playerid, 2604.880859,-1470.565917,16.760200))
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You bought 8 C Material Packages for $1600.");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Drive to the marked factory to get your mats.");
GivePlayerMoney(playerid, - 1500);
MatsHolding[playerid] = 8;
SetPlayerCheckpoint(playerid,-90.964698,-1576.230346,2.617197,3.5);
PlayerInfo[playerid][pGotC] = 1;
return 1;
}
else
{
SendClientMessage(playerid, COLOR_GREY, " You are not at a Materials pickup!");
return 1;
}
}
return 1;
}
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at http://ift.tt/jcXqJW.
Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting.
comando /mget
Aucun commentaire:
Enregistrer un commentaire