Posts: 34
Threads: 10
Joined: Aug 2011
Reputation:
0
warning 201: redefinition of constant/macro (symbol "MAX_PLAYERS")
warning 203: symbol is never used: "Langs_AddLanguage"
how to fix this ;:=
Posts: 103
Threads: 0
Joined: Apr 2011
Reputation:
0
MAX_PLAYERS is repeating itself, post the two instances
Remove the Langs_AddLanguage line
Posts: 34
Threads: 10
Joined: Aug 2011
Reputation:
0
Yea and this one
new PlayerInfo[MAX_PLAYERS][pInfo];
Posts: 1,239
Threads: 16
Joined: Mar 2011
Reputation:
0
Are you maybe including include file next to a_samp.inc which has MAX_PLAYERS defined already?
Posts: 34
Threads: 10
Joined: Aug 2011
Reputation:
0
works when i deleted the define thx :P
and now im gettign this shit..
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 2) : warning 213: tag mismatch
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 2) : warning 213: tag mismatch
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 2) : warning 213: tag mismatch
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 3) : warning 213: tag mismatch
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 3) : warning 213: tag mismatch
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 3) : warning 213: tag mismatch
C:\Users\Johan\Desktop\saaasa\gamemodes\lol.pwn(17 5) : warning 217: loose indentation
This is the code
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/jetpack", cmdtext, true, 10) == 0)
{
new float:X, float:Y, float:Z;
GetPlayerPos(Playerid, X, Y, Z);
CreatePickup(370, 3, X, Y, Z);
return 1;