13.08.2012, 17:23
Hello, I've a bug with /biztype when i do /biztype it says wrong ID when i do /editbuilding name [ID] says wrong id.
Everything with wrong id and I want to fix it.
also its didn't save after gmx's.
Everything with wrong id and I want to fix it.
also its didn't save after gmx's.
Код:
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"); } }