Error "number of arguments does not match definition" please help.
#1

These are the errors:

Код:
C:\Users\OLLY\Desktop\games\samp scripts\Roleplay (0.3.7)\gamemodes\roleplay.pwn(293) : warning 202: number of arguments does not match definition
C:\Users\-\Desktop\games\samp scripts\Roleplay (0.3.7)\gamemodes\roleplay.pwn(3159) : warning 202: number of arguments does not match definition
These are the lines:

Код:
293 - if(IsPlayerInRangeOfPoint(j, HouseInfo[j][hEnterX], HouseInfo[j][hEnterY], HouseInfo[j][hEnterZ]) && GetPlayerInterior(i) == HouseInfo[j][hOutsideInt] && GetPlayerVirtualWorld(i) == HouseInfo[j][hOutsideVir]) 

3159 - dini_Get(fstring, "Owner", HouseInfo[houseid][hOwner]);
Reply
#2

293 - you forgot to put the "range" argument
3159 - i forgot DINI ,but i think you need string capacity or stmh like that dini_Get(fstring, "Owner", HouseInfo[houseid][hOwner],MAX_PLAYER_NAME);
Reply
#3

Quote:
Originally Posted by Dziugsas
Посмотреть сообщение
293 - you forgot to put the "range" argument
3159 - i forgot DINI ,but i think you need string capacity or stmh like that dini_Get(fstring, "Owner", HouseInfo[houseid][hOwner],MAX_PLAYER_NAME);
I did what you said to 3159 - it gave me the same error. I also added a range for the 293. Thank you! +REP.
Reply
#4

take a look at this thread https://sampforum.blast.hk/showthread.php?tid=158283
Reply
#5

This worked. Thanks again mate!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)