-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Posts posted by ItzGabi2k
-
-
Salutare! Incerc sa optimizez gamemode-ul chars si am dat de o problema de care nu am mai dat pana acum.
Chars.pwn(13542) : error 033: array must be indexed (variable "componenets")
Chars.pwn(13543) : error 033: array must be indexed (variable "Mods")
Chars.pwn(13544) : error 033: array must be indexed (variable "coordonate")
Pawn compiler 3.10.8 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
13542 componenets = cache_get_field_content_int(20, "Components");
13543 Mods = cache_get_field_content_int(50, "Mods");
13544 coordonate == cache_get_field_content_int(50, "Cordonate"); -
Nu imi merg comenzile:
/shopinfo, /normalshop, /vipcars, extrapackshop
YCMD:shopinfo(playerid, params[], help) { ShopType[ playerid ] = 0; ShowShop( playerid ); return true; }
YCMD:normalshop(playerid, params[], help) { ShopType[ playerid ] = 1; ShowShop( playerid ); return true; }
YCMD:vipcars(playerid, params[], help) { ShopType[ playerid ] = 2; ShowShop( playerid ); return true; }
YCMD:extrapackshop(playerid, params[], help) { ShopType[ playerid ] = 3; ShowShop( playerid ); return true; }
YCMD:shop(playerid, params[], help) {
SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Comanda de /shop a fost schimbata:");
SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Shop Info: /shopinfo");
SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Normal Shop: /normalshop");
SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}V.I.P Cars: /vipcars");
SCM(playerid, COLOR_PURPLE, ">> {FFFFFF}Extra Packs: /extrapackshop");
return true;
} -
swapper.pwn(11883) : warning 219: local variable "gString" shadows a variable at a preceding level
swapper.pwn(13192) : warning 213: tag mismatch: expected tag "bool", but found none ("_")liniile 11883-11884:
new gString[0] = EOS;
cache_get_field_content(0, "name", gString, MAX_PLAYER_NAME);linia 13192:
CarInfo[id][cRainBow] = cache_get_field_content_int(0, "RainBow");
GAMEMODE BY HPQ123 BIG EDIT
in Gamemode-uri
Posted
+1