17.09.2015, 19:40
hey fellas.
I have an problem with my command.
/orderedcomps is command which i made when someone orders comps for his own biz
but when i press /orderedcomps it wont show me bizs that
Here is my command. No script errors
I have an problem with my command.
/orderedcomps is command which i made when someone orders comps for his own biz
but when i press /orderedcomps it wont show me bizs that
Here is my command. No script errors
PHP Code:
COMMAND:orderedcomps(playerid,params[])
{
if(PlayerInfo[playerid][orderedcomps] <1)
{
new MSG[90];
SendClientMessage(playerid,COLOR_YELLOW,"---- Ordered comps from bizs owners / biz ids ----");
for(new i=0;i<(sizeof(i));i++)
{
new zone[60];
GetZone(biz[i][bizenter_x],biz[i][bizenter_y],biz[i][bizenter_z], zone);
format(MSG,sizeof(MSG),"Business Name:[%s][%d] - Business Location[%s]",biz[i][bizname],biz[i][bizid],zone);
SendClientInfo(playerid, MSG);
}
return 1;
}
return 1;
}