23.05.2012, 20:20
Why is not this not un locking the business id i put in where i do the command
Thank You
Please Help Me Please
pawn Код:
command(alockbusiness, playerid, params[])
{
new businessid[45], string[12];
if(Player[playerid][AdminLevel] >= 1)
if(sscanf(params, "d", businessid)) return SendClientMessage(playerid, RED, "/alockbusiness [business ID]");
format(string, sizeof(string), "Businesses/Business_%d.ini", businessid);
if(fexist(string))
{
Businesses[playerid][bLockStatus] = 0;
}
return 1;
}
Thank You
Please Help Me Please