Quote:
Originally Posted by Roomeo
Errors..
pawn Код:
I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(225) : error 010: invalid function or declaration I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(229) : error 010: invalid function or declaration I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(232) : error 010: invalid function or declaration I:\Games\RockStar Game Gta San Andreas\Gta Sanandreas\My Script\gamemodes\My Script.pwn(237) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors
script
pawn Код:
if (strcmp("/Kill", cmdtext, true, 10) == 0) { SetPlayerHealth(playerid, 0); SendClientMessage(playerid, COLOR_BRIGHTRED, "You Killed Yourself!"); return 1; }
if(strcmp(cmdtext, "/rules", true, 6)== 0) { SendClientMessage(playerid, 0xFF0000AA," Rules"); return 1; }
|
pawn Код:
if (strcmp("Kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, 0xFFFF00AA, "You have killed yourself!");
return 1;
}
if (strcmp("Rules", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFFFF00AA, "Rules!");
return 1;
}
Or
Код:
if (strcmp("Kill", cmdtext, true, 10) == 0)
{
SetPlayerHealth(playerid, 0);
SendClientMessage(playerid, 0xFFFF00AA, "You have killed yourself!");
return 1;
}
if (strcmp("Rules", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0xFFFF00AA, "Rules!");
return 1;
}