Se soubesse identar iria saber onde estava o erro.
PHP код:
#include <a_samp>
#include <a_samp>//Include Made by : Sa-mp Team.
#define DIALOG_AL 4677
#define COLOR_RED 0xAA3333AA
#define COLOR_GREEN 0x33AA33AA
forward SpawnProtection(playerid);
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
}
#endif
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, 230);
return 1;
}
public OnGameModeInit()
{
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/ooc", cmdtext, false, 10) == 0)
{
return 1;
}
if (strcmp("/infosv", cmdtext, true, 10) == 0)
{
new Ajuda[1500];
#define DialogBoxEx 90
strcat(Ajuda,"{FFFFFF}Owner\n{FFEA03}[DG]Mendingo \n\n");
strcat(Ajuda, "{FFFFFF}Mapper\n{4CFA1B}OFF'S\n\n");
strcat(Ajuda, "{FFFFFF}Scrippter\n{0C9E05}OFF'S\n\n");
strcat(Ajuda, "{FFFFFF}Ajudantes\n{11CFCF}OFF'S\n\n");
strcat(Ajuda, "{FFFFFF}Divulgadores\n{1170CF}OFF'S\n\n");
strcat(Ajuda, "{FFFFFF}Vibradores\n{FA0505} OFF'S\n\n");
ShowPlayerDialog(playerid, DialogBoxEx, DIALOG_STYLE_MSGBOX, "Info Server", Ajuda, "Ok", "Cancelar");
return 1;
}
if(!strcmp("/mendingo", cmdtext, true, 10)) {
new Nome[24];
GetPlayerName(playerid, Nome, 24);
if( !strcmp(Nome, "[DG]Mendingo", true || !strcmp(Nome, "[DG]Naked", true)) {
SetPlayerSkin(playerid, 230);
}
else {
SendClientMessage(playerid, -1, "Vocк nгo esta autorizado a usar este comando!");
}
return 1;
}
return 1;
}