- 0
error 028: invalid subscript (not an array or too many subscripts): "TimerRainbow"
-
Similar Content
-
- 1 answer
- 355 views
-
- 0 replies
- 1,295 views
-
- 1 reply
- 1,239 views
-
- 3 replies
- 553 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
AndyAdv
Buna ziua! Recent m-am apucat de un edit la gamemode-ul Burned! Cand am facut comanda rainbow am intampinat aceste erori:
1.C:\Users\Andrei\Desktop\Gamemode\Gamemode\gamemodes\gmm.pwn(14849) : error 028: invalid subscript (not an array or too many subscripts): "TimerRainbow"
2.C:\Users\Andrei\Desktop\Gamemode\Gamemode\gamemodes\gmm.pwn(14849) : error 001: expected token: ";", but found "]"
3.C:\Users\Andrei\Desktop\Gamemode\Gamemode\gamemodes\gmm.pwn(14849) : error 029: invalid expression, assumed zero
4.C:\Users\Andrei\Desktop\Gamemode\Gamemode\gamemodes\gmm.pwn(14849) : fatal error 107: too many error messages on one line
Linia: KillTimer(TimerRainbow[playerid]);
Comanda:
YCMD:rainbowveh(playerid, params[], help) {
Edited by AndyAdvif(PlayerInfo[playerid][pPremiumAccount] == 0) return SCM(playerid, COLOR_RED, "Nu detii cont premium!");
if(!IsPlayerInAnyVehicle(playerid)) return SCM(playerid, COLOR_RED, "Nu te afli in niciun vehicul!");
new time;
if(sscanf(params, "i", time)) return SCM(playerid, -1, "Syntax: /rainbowveh");
if(time < 0) return 1;
KillTimer(TimerRainbow[playerid]);
TimerRainbow[playerid] = SetTimerEx("RainbowChange", time true, "i", playerid);
return 1; }
YCMD:copianuarevaloare(playerid, params[], help) {
if(PlayerInfo[playerid][pCopiator] == 1) {
PlayerInfo[playerid][pProstie] = 9999;
SendClientMessage(playerid, COLOR_RED, "Felicitari! Ai primit +9999 prostie pentru ca esti un copiator infect");
}
return 1;
}
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.