27.01.2011, 22:25
pawn Код:
#include <a_samp>
//all the "new" on top
//example
new IsSpawned;
public OnGameModeInit() // If you make a GameMode
{
print("GM STARTED");
}
public OnFilterScriptInit() // If you make a FilterScript
{
print("FS STARTED");
}
public OnPlayerCommandText(playerid, cmdtext[]) //Example Command
{
if(!strcmp(cmdtext, "/kill", true))
{
SetPlayerHealth(playerid, 0);
return 1;
}
return 0;
}