biz problem
#1

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))
{
Reply
#2

Mind using [pawn] BB tags? I can't even read that.
Reply
#3

yes is pawn scripting
Reply
#4

Quote:
Originally Posted by fixgon
yes is pawn scripting
..we know that. He's asking you to use PAWN tags:
Код:
pawn Код:
PAWN-code
Reply
#5

Quote:

yes is pawn scripting

He means that you should use this

[/pawn]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)