10.01.2018, 08:36
I have this code
I Have This Errors :
Error Line:
[CODE]
Код:
new age[MAX_PLAYERS];//TOP CMD:myage(playerid, params[]) { new myage, str[180]; if(sscanf(params, "i", myage)) return SCM(playerid, -1, "USAGE:/myage[age]"); format(str, sizeof(str), "Your Age Have Been Set To %i", myage); SCM(playerid, -1, str); age == myage; return 1; }
Код:
C:\Users\Kurdi's\Desktop\samp037_svr_R2-1-1_win32\gamemodes\FirstCode.pwn(177) : error 033: array must be indexed (variable "age") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
[CODE]
Код:
new age[MAX_PLAYERS];