biz problem - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: biz problem (
/showthread.php?tid=98752)
biz problem -
fixgon - 22.09.2009
how can i change the coordinates of a business rp
is called a gun shop and I can not change the coordinates for my location == 99 karma
and not the location where it is modified is not where I Nigun player-to-point mark
thanks
the script
if (strcmp(cmd, "/buygun", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(GetPlayerMoney(playerid) > 1)
{
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(location == 99 || location == 100 || location == 102) //----here is the problem
{
if(BizzInfo[location][bProducts] == 0)
{
GameTextForPlayer(playerid, "~r~closet", 5000, 1);
return 1;
}
new mod = 100;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
Re: biz problem -
dougbrowne - 22.09.2009
Mind using [pawn] BB tags? I can't even read that.
Re: biz problem -
fixgon - 22.09.2009
yes is pawn scripting
Re: biz problem -
Correlli - 22.09.2009
Quote:
Originally Posted by fixgon
yes is pawn scripting
|
..we know that. He's asking you to use PAWN tags:
Re: biz problem -
Peter_Corneile - 22.09.2009
He means that you should use this
[/pawn]