Help please...
#1

I add this to my script :
if (strcmp(cmd, "/buygun", true) == 0)
{
new gun;
new gunid[16];
new gunstring1[256];
new gunstring2[256];
new gunstring3[256];
new gunstring4[256];
new gunstring5[256];
new infostring[256];
new guncharge;
new ammocharge;
new location = PlayerInfo[playerid][pLocal];
if (PlayerToPoint(1, playerid,295.5650,-37.5810,1001.5156) || PlayerToPoint(4, playerid,296.3506,-38.0523,1001.5156))
{
SendClientMessage(playerid, COLOR_WHITE,"You are not in a store");
return 1;
}
new mod = (BizzInfo[location-99][bPriceMod]);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
But when i go to that coordinate and do /Buygun it says i am not in the store but i am on the coordinate (are in the interiors 1 & 4 ammonation)

if somebody know's what i am doing wrong please reply very much thanks Joker...
Reply


Messages In This Thread
Help please... - by Jokerr_mayne - 16.04.2009, 16:08
Re: Help please... - by Jokerr_mayne - 16.04.2009, 16:28
Re: Help please... - by Rks25 - 16.04.2009, 16:49
Re: Help please... - by Jokerr_mayne - 16.04.2009, 16:56
Re: Help please... - by Rks25 - 16.04.2009, 16:57
Re: Help please... - by Jokerr_mayne - 16.04.2009, 17:05
Re: Help please... - by Jokerr_mayne - 16.04.2009, 17:08
Re: Help please... - by Rks25 - 16.04.2009, 17:46
Re: Help please... - by Jokerr_mayne - 16.04.2009, 20:13

Forum Jump:


Users browsing this thread: 3 Guest(s)