22.12.2013, 09:28
Hello guys,
that's my Ammunation Business info, But i want to add
for it,
So any one can help me?
CMDS:
That's my Clothes Store Biz info
that's my Ammunation Business info, But i want to add
PHP код:
cmd:buyguns
So any one can help me?
CMDS:
PHP код:
else if(BizInfo[idx][bType] == 3) // Ammunation Business
{
format(string, sizeof(string), "* %s pushes the door and enters the ammunation.", RPN(playerid));
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetPlayerPos(playerid, 314.820983,-141.431991,999.601562);
SetPlayerFacingAngle(playerid, 358.9898);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 7);
SetPlayerVirtualWorld(playerid, idx+6000);
return 1;
}
PHP код:
else if(BizInfo[idx][bType] == 2) // Clothes Shop Business
{
format(string, sizeof(string), "* %s pushes the door and enters the clothes shop.", RPN(playerid));
ProxDetector(15.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
SetPlayerPos(playerid, 226.293991,-7.431529,1002.210937);
SetPlayerFacingAngle(playerid, 356.3849);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 5);
SetPlayerVirtualWorld(playerid, idx+6000);
format(string, sizeof(string), "** Welcome to %s's Clothes Shop, Use /buyclothes or /buytoys to purchase items from this store. **", BizInfo[idx][bOwner]);
SendClientMessage(playerid, COLOR_YELLOW, string);
return 1;
}