19.12.2009, 19:31
Hey, first of all. I have searched but could not find anyone else with a similar problem to mine.
I added a few commands, no advances commands, they are very basic and when I click "Compile" it crashes and tells me that the pawn compiler has stopped working or something like that. Here is the commands I added:
I'm stuck here with this, please help me if you see any problem in the code or if you know what to do!
I added a few commands, no advances commands, they are very basic and when I click "Compile" it crashes and tells me that the pawn compiler has stopped working or something like that. Here is the commands I added:
pawn Код:
...
return 1;
}
if (strcmp("/teleports", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0x0080FFFF, "=TELEPORTS=");
SendClientMessage(playerid, 0x0080FFFF, "=/races =");
SendClientMessage(playerid, 0x0080FFFF, "=/dmzones =");
SendClientMessage(playerid, 0x0080FFFF, "=/stunts =");
SendClientMessage(playerid, 0x0080FFFF, "===========");
return 1;
}
if (strcmp("/races", cmdtext, true, 6) == 0)
{
SendClientMessage(playerid, 0x0080FFFF, "==RACES===");
SendClientMessage(playerid, 0x0080FFFF, "=/turismo=");
SendClientMessage(playerid, 0x0080FFFF, "==========");
return 1;
}
if (strcmp("/dmzones", cmdtext, true, 8) == 0)
{
SendClientMessage(playerid, 0x0080FFFF, "=DM ZONES=");
SendClientMessage(playerid, 0x0080FFFF, "=/deagle =");
SendClientMessage(playerid, 0x0080FFFF, "=/area51 =
SendClientMessage(playerid, 0x0080FFFF, "==========");
return 1;
}
if (strcmp("/stunts", cmdtext, true, 8) == 0)
{
SendClientMessage(playerid, 0x0080FFFF, "====STUNTS====");
SendClientMessage(playerid, 0x0080FFFF, "=/deathbarrel=");
SendClientMessage(playerid, 0x0080FFFF, "==============");
return 1;
}
return 0;
}