- 0
Problema la o comanda
-
Similar Content
-
- 4 replies
- 193 views
-
- 3 answers
- 739 views
-
- 1 reply
- 144 views
-
- 4 answers
- 670 views
-
Comanda /spec
By VAurel,
- 4 answers
- 330 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
AlexuTzuBss
Am comanda : CMD:getjob(playerid, params[])
{
if(PlayerJob[playerid] != 0) return SCM(playerid, COLOR_ORANGERED, "Ai deja un job.");
new string[256];
if(IsPlayerInRangeOfPoint(playerid, 5.0, 2795.7803,-1619.5692,10.9219))
{
PlayerJob = 1;
format(string, sizeof(string), "Noul tau job este %s", JOB_NAME1);
SCM(playerid, COLOR_ORANGERED, string);
}
else SCM(playerid, COLOR_ORANGERED, "Nu esti in zona unui job.");
return 1;
}
si am eroarea : error 033: array must be indexed (variable "PlayerJob")
Am pus si new PlayerJob[MAX_PLAYERS];
Link to comment
Share on other sites
9 answers 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.