[Help] What i did wrong.. -
ghostomgg - 06.05.2014
http://pastebin.com/S4iLPCc0
I know i did somenthing wrong in the code, but i dont know what.. I am new at pawno, so if anyone can tell me how to fix this, and this work i will learn from that
Re: [Help] What i did wrong.. -
ghostomgg - 06.05.2014
Errors: C:\Users\ws\Desktop\Desktop\Untitled.pwn(117) : error 017: undefined symbol "PlayerInfo"
C:\Users\ws\Desktop\Desktop\Untitled.pwn(117) : warning 215: expression has no effect
C:\Users\ws\Desktop\Desktop\Untitled.pwn(117) : error 001: expected token: ";", but found "]"
C:\Users\ws\Desktop\Desktop\Untitled.pwn(117) : error 029: invalid expression, assumed zero
C:\Users\ws\Desktop\Desktop\Untitled.pwn(117) : fatal error 107: too many error messages on one line
Re: [Help] What i did wrong.. -
Aerotactics - 06.05.2014
Under OnDialogResponse, that function should return 0 instead of 1.
EDIT: Why are there 2 of these?
pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo];
new PlayerInfo[MAX_PLAYERS][pInfo];
Re: [Help] What i did wrong.. -
ghostomgg - 07.05.2014
Quote:
Originally Posted by Aerotactics
Under OnDialogResponse, that function should return 0 instead of 1.
EDIT: Why are there 2 of these?
pawn Код:
new PlayerInfo[MAX_PLAYERS][pInfo]; new PlayerInfo[MAX_PLAYERS][pInfo];
|
Still the same error, did everything you said.
Re: [Help] What i did wrong.. -
Syncro - 07.05.2014
You must declare the variable "PlayerInfo".
At the head of gamemode:
enum pInfo
{
pPosedovanjeFirme2
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Re: [Help] What i did wrong.. -
Beckett - 07.05.2014
pawn Код:
enum pInfo
{
pAdmin
pPosedovanjeFirme2
} // You don't need a ";" here.
new PlayerInfo[MAX_PLAYERS][pInfo]; // Why you had two of these?
P.S: It is not recommended to share your whole gamemode/filterscript in the scripting help section, share your error only.
Re: [Help] What i did wrong.. -
ghostomgg - 07.05.2014
Quote:
Originally Posted by DaniceMcHarley
pawn Код:
enum pInfo { pAdmin pPosedovanjeFirme2 } // You don't need a ";" here. new PlayerInfo[MAX_PLAYERS][pInfo]; // Why you had two of these?
P.S: It is not recommended to share your whole gamemode/filterscript in the scripting help section, share your error only.
|
Uhh, okay
But not working yet, still same errors.
Re: [Help] What i did wrong.. -
jueix - 07.05.2014
try
pawn Код:
enum pInfo
{
pAdmin,
pPosedovanjeFirme2
}; // You don't need a ";" here.
new PlayerInfo[MAX_PLAYERS][pInfo];
Re: [Help] What i did wrong.. -
ghostomgg - 08.05.2014
Nope, still not working.
Tried searching on ******, still showing errors
Re: [Help] What i did wrong.. -
ghostomgg - 13.05.2014
Please reply meeeeeeeee