Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- - Fazer debug no gamemode.
- - Para usar coloque esta função na útlima linha do gm.
- - depois coloque no final do OnGameModeInit: ExibeDebug();
- - Créditos: [iPs]SuYaNw.
- */
- stock ExibeDebug()
- {
- new
- CAR = -1,
- GZ = -1,
- PK = -1,
- Ob = -1,
- Text3D:Lb,
- Menu:Mn,
- Text:TD
- ;
- CAR = AddStaticVehicle(568, 0.0,0.0, 0.0, 0.0, -1, -1); DestroyVehicle(CAR);
- GZ = GangZoneCreate(0.0,0.0,0.0,0.0); GangZoneDestroy(GZ);
- TD = TextDrawCreate(240.0,580.0," "); TextDrawDestroy(TD);
- PK = CreatePickup(1242, 2, 1503.3359, 1432.3585, 10.1191, -1); DestroyPickup(PK);
- Ob = CreateObject(2587, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); DestroyObject(Ob);
- Mn = CreateMenu(" ", 2, 200.0, 100.0, 150.0, 150.0); DestroyMenu(Mn);
- Lb = Create3DTextLabel("", -1, 0.0, 0.0, 0.0, 0.0, -1, 0); Delete3DTextLabel(Lb);
- print("||===========[ DEBUG ]=============||");
- printf("|| Carros: %d", CAR);
- printf("|| GangZonas: %d", GZ);
- printf("|| TextDraws: %d", _:TD -1);
- printf("|| Pickup's : %d", PK);
- printf("|| Object's : %d", Ob);
- printf("|| Menu's : %d", _:Mn-1);
- printf("|| 3DLabel's: %d", _:Lb-1);
- print("||===========[ DEBUG ]=============||");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement