- 0
error 028: invalid subscript (not an array or too many subscripts): "TimerRainbow"
-
Similar Content
-
- 1 reply
- 2.000 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
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;
}
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now