Jump to content

[REZOLVAT] Problema Gamemode


KillerFish
 Share

Recommended Posts

Username: Allonzo
Problema întălnită: Nu pot compila gamemode-ul.
Detalii despre problemă: Cand compilez gamemode-ul imi da 2 erori si nu stiu sa le rezolv.
Ce ai încercat să faci înainte să postezi?: Am incercat sa rezolv dar nu merge.
Cod sursă (recomandat pastebin.com) :  https://pastebin.com/ZxxBX8Xd
Alte detalii: Ajutati-ma va rog.

Link to comment
Share on other sites

  • Retired

Incearca sa modifici liniile la care primesti eroare cu urmatoarele:

 

	format(szDialog, sizeof szDialog, "%s\t%s\t%s\t%d options found %s%s%s%s%s%s\n", aVehicleNames[CarInfo[car][cModel]-400], (CarInfo[car][Spawned]) ? ("{26B309}[Spawned]") : ("{FF0000}[Despawnat]"),time,options, (options) ? "-" : "", (CarInfo[car][cVIP]) ? (" {ff0000}[R]{ffffff}"):(""),(strlen(CarInfo[car][cText]) > 3) ? (" {ffff00}[V]{ffffff}"):(""),(CarInfo[car][cStage]) ? (stage):(""),(CarInfo[car][cPremium]) ? ("{66ffff}[P]{ffffff}"):(""),(CarInfo[car][cVipPlus]) ? ("{fffff0}[V+]{ffffff}") : (""));
	

Devine ->

	format(szDialog, sizeof szDialog, "%s\t%s\t%s\t%d options found %s%s%s%s%s%s\n", aVehicleNames[CarInfo[car][cModel]-400], (CarInfo[car][Spawned]) ? ("{26B309}[Spawned]") : ("{FF0000}[Despawnat]"),time,options, (options) ? ("-") : (""), (CarInfo[car][cVIP]) ? (" {ff0000}[R]{ffffff}"):(""),(strlen(CarInfo[car][cText]) > 3) ? (" {ffff00}[V]{ffffff}"):(""),(CarInfo[car][cStage]) ? (stage):(""),(CarInfo[car][cPremium]) ? ("{66ffff}[P]{ffffff}"):(""),(CarInfo[car][cVipPlus]) ? ("{fffff0}[V+]{ffffff}") : (""));
	

 

Iar urmatoarea linie la care primesti eroare o modifici in:

 

	va_SendClientMessage(playerid, 0xeab218FF, "Shop:{ffffff} premium account: %s, vip account: %s, %d premium points, %s, %d kpoints, %s", (PlayerInfo[targetid][pPremiumAccount] == 0) ? ("no") : ("yes"), ((PlayerInfo[targetid][pVip] == 0) ? ("no") : ("yes")), PlayerInfo[targetid][pPremiumPoints], JobBoost,PlayerInfo[targetid][pKingPoints]);
	

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...