/takegun failage lol -
02manchestera - 29.01.2010
Код:
}
if(PlayerToPoint(100, playerid, 2326.3662,-1184.6074,1027.9766))//centerpoint 24-7
{
if(strcmp(cmd, "/takegun", true) == 0)// surenos guns
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /equip [item number]");
SendClientMessage(playerid, COLOR_GREEN, "|_______ HQ Armory _______|");
SendClientMessage(playerid, COLOR_GRAD1, "| 1: Normal setup
return 1;
}
new item = strval(tmp);
if (item == 1)
{
if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5)
{
SafeResetPlayerWeapons(playerid);
SafeGivePlayerWeapon(playerid, 43, 100);
SafeGivePlayerWeapon(playerid, 3, 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s has suited himself up with the standardequipment.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
return 1;
}
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(1722) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(1751) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(1787) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(178

: error 004: function "SafeGivePlayerWeapon" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(1815) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2286) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2297) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2309) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2313) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2325) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2329) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2333) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2337) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2341) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2345) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2349) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2353) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2365) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2369) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2373) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2377) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2381) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2393) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2397) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2401) : error 004: function "PlayerToPoint" is not implemented
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(2413) : error 004: function "PlayerToPoint" is not implemented
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
i have major failed i think lol is this total use less or salavgeable im trying to create a point where you type a cmd(/takegun) and it gives you this and that weapon this is a shorter version of a police one that works but the police has to many options
many thanks
Re: /takegun failage lol -
LuxurioN™ - 29.01.2010
Try this (Not Tested):
pawn Код:
if(strcmp(cmd, "/takegun", true) == 0)// surenos guns
{
if(PlayerToPoint(100, playerid, 2326.3662,-1184.6074,1027.9766))//centerpoint 24-7
{
if(IsPlayerConnected(playerid))
{
SendClientMessage(playerid, COLOR_WHITE, "USAGE: /equip [item number]");
SendClientMessage(playerid, COLOR_GREEN, "|_______ HQ Armory _______|");
SendClientMessage(playerid, COLOR_GRAD1, "| 1: Normal setup");
return 1;
}
new item = strval(tmp);
if (item == 1)
{
if(PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5||PlayerInfo[playerid][pMember] == 5||PlayerInfo[playerid][pLeader] == 5)
{
SafeResetPlayerWeapons(playerid);
SafeGivePlayerWeapon(playerid, 43, 100);
SafeGivePlayerWeapon(playerid, 3, 1);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "* %s has suited himself up with the standardequipment.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
}
return 1;
}
Re: /takegun failage lol -
02manchestera - 29.01.2010
C:\Users\alex\Documents\My Received Files\gtarpfixedHQ4.pwn(14155) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Header size: 9464 bytes
Code size: 1631356 bytes
Data size: 10355044 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5522 cells (22088 bytes)
Total requirements:12012248 bytes
1 Warning.
this anything to be worried about
Re: /takegun failage lol -
LuxurioN™ - 29.01.2010
Post line
14155 Here
Re: /takegun failage lol -
02manchestera - 29.01.2010