problem with undefined
#1

stock getPlayerLandID(playerid)
{
for(int<<<< i get the error here i = 0; i < MAX_LANDS; i++)
if(landInfo[i][lCreated])
if(IsPlayerInRangeOfPoint(playerid, LAND_RANGE, landInfo[i][lIconX], landInfo[i][lIconY], landInfo[i][lIconZ]))
return i;
return INVALID_LAND_ID;
}

says its undefined int
Reply
#2

replace the word int for the word new
Reply
#3

when i done that i got a ton of errors
Reply
#4

Then stop copy-pasting things into your gamemode.
Reply
#5

whaaa lmao, i never i thought about changing it to new.... never worked,.... so ive tryed to get help here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)