13.08.2012, 18:54
dcmd_biztype(playerid, params[])
{
new type, id, string[128], businesstype[128];
if( sscanf( params, "ud", id, type))
{
if( PlayerInfo[playerid][pAdmin] >= 1337 )
{
SendClientMessage( playerid, COLOR_WHITE, "USAGE: /biztype [businessid] [type]" );
SendClientMessage(playerid, COLOR_YELLOW, "| 1: 24/7 7: Paintball");
SendClientMessage(playerid, COLOR_YELLOW, "| 2: Clothes Store 8: Bank");
SendClientMessage(playerid, COLOR_YELLOW, "| 3: Club 9: Electronic Store");
SendClientMessage(playerid, COLOR_YELLOW, "| 4: Ammunation 10: Toy Store");
SendClientMessage(playerid, COLOR_YELLOW, "| 5: Casino");
SendClientMessage(playerid, COLOR_YELLOW, "| 6: Restaurant");
}
}
{
new type, id, string[128], businesstype[128];
if( sscanf( params, "ud", id, type))
{
if( PlayerInfo[playerid][pAdmin] >= 1337 )
{
SendClientMessage( playerid, COLOR_WHITE, "USAGE: /biztype [businessid] [type]" );
SendClientMessage(playerid, COLOR_YELLOW, "| 1: 24/7 7: Paintball");
SendClientMessage(playerid, COLOR_YELLOW, "| 2: Clothes Store 8: Bank");
SendClientMessage(playerid, COLOR_YELLOW, "| 3: Club 9: Electronic Store");
SendClientMessage(playerid, COLOR_YELLOW, "| 4: Ammunation 10: Toy Store");
SendClientMessage(playerid, COLOR_YELLOW, "| 5: Casino");
SendClientMessage(playerid, COLOR_YELLOW, "| 6: Restaurant");
}
}