11.08.2016, 17:13
why does this happen? when i try to complie my gamemode with this in C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer\Freeroam & Roleplay v0.1 - Deal closer\gamemodes\FNRv0.1.pwn(3392 : error 021: symbol already defined: "S@@_OnPlayerCommandText"
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer\Freeroam & Roleplay v0.1 - Deal closer\gamemodes\FNRv0.1.pwn(33934) : error 030: compound statement not closed at the end of file (started at line 33929)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
a /kill command that kills yourself but i cant complie it
C:\Users\Linus\Desktop\Freeroam & Roleplay v0.1 - Deal closer\Freeroam & Roleplay v0.1 - Deal closer\gamemodes\FNRv0.1.pwn(33934) : error 030: compound statement not closed at the end of file (started at line 33929)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/kill", cmdtext, true, 5) == 0)
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
a /kill command that kills yourself but i cant complie it