Posts: 10
Threads: 2
Joined: Mar 2011
Reputation:
0
When hitting F5, i'm getting this.
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : error 029: invalid expression, assumed zero
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : error 021: symbol already defined: "OnPlayerConnect"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Posts: 10
Threads: 2
Joined: Mar 2011
Reputation:
0
Ok, fixed that, but now i'm getting this.
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(62) : error 017: undefined symbol "Registered"
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(62) : warning 215: expression has no effect
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(62) : error 001: expected token: ";", but found "]"
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(62) : error 029: invalid expression, assumed zero
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(62) : fatal error 107: too many error messages on one line
Posts: 371
Threads: 8
Joined: Aug 2012
25.08.2012, 13:07
(
Последний раз редактировалось DaTa[X]; 25.08.2012 в 14:54.
)
if the player not
registred
Код:
public OnPlayerConnect(playerid)
{
GivePlayerMoney(playerid,2000);
return 1;
}
Posts: 10
Threads: 2
Joined: Mar 2011
Reputation:
0
GivePlayerMoney(playerid,2000);?
Posts: 10
Threads: 2
Joined: Mar 2011
Reputation:
0
25.08.2012, 13:46
(
Последний раз редактировалось Natureforce; 25.08.2012 в 14:26.
)
Thanks guys.
I installed the login/register system, and it works.
But i'm still having this error.
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : error 017: undefined symbol "Registered"
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : warning 215: expression has no effect
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : error 001: expected token: ";", but found "]"
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : error 029: invalid expression, assumed zero
C:\Users\Michiel\Servers\GTA sa\Gta test\gamemodes\test.pwn(63) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
With this code
public OnPlayerConnect(playerid){ if(Registered[playerid] == 0) //The player is not registered { ResetPlayerMoney(playerid); GivePlayerMoney(playerid, 2000); } return 1;}