14.12.2009, 11:56
[b]
Hello, I am creating a new Gamemode, But now i've want to made a /help with This:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Help", cmdtext, true, 10) == 0)
SendPlayerFormattedText(playerid, "/Teleports - Shows a list of Teleports", 0);
}
return 1;
}
And i recieve this errors:
C:\Users\Rick\Desktop\New\war\gamemodes\DoNotFall. pwn(94) : error 017: undefined symbol "SendPlayerFormattedText"
C:\Users\Rick\Desktop\New\war\gamemodes\DoNotFall. pwn(96) : error 010: invalid function or declaration
I have no Idea what to do, I am pretty much new to scripting, So i really want to learn it.
[b] Note: This gamemode is a NEW Clean one, I've set a Spawnpoint + a Joining skin.. But i can not do this /help command.
Hello, I am creating a new Gamemode, But now i've want to made a /help with This:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/Help", cmdtext, true, 10) == 0)
SendPlayerFormattedText(playerid, "/Teleports - Shows a list of Teleports", 0);
}
return 1;
}
And i recieve this errors:
C:\Users\Rick\Desktop\New\war\gamemodes\DoNotFall. pwn(94) : error 017: undefined symbol "SendPlayerFormattedText"
C:\Users\Rick\Desktop\New\war\gamemodes\DoNotFall. pwn(96) : error 010: invalid function or declaration
I have no Idea what to do, I am pretty much new to scripting, So i really want to learn it.
[b] Note: This gamemode is a NEW Clean one, I've set a Spawnpoint + a Joining skin.. But i can not do this /help command.