03.10.2011, 00:31
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/eventomotos", true) == 0)
{
if(Eventopolis[playerid] = 1;
{
SendClientMessage(playerid, -1 "No puedes abrir un nuevo evento! Primero termina con el evento de policias contra ladrones!");
}
else
{
SetPlayerVirtualWorld(playerid, 9);
return 1;
}
return 0;
pawn Код:
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(263) : warning 211: possibly unintended assignment
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(263) : error 001: expected token: ")", but found ";"
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(263) : error 036: empty statement
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(265) : error 001: expected token: ",", but found "-string-"
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(265) : warning 215: expression has no effect
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(265) : error 001: expected token: ";", but found ")"
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(265) : error 029: invalid expression, assumed zero
C:\Users\Alex\Documents\GTA San Andreas User Files\SAMP\SAMP\Bot\filterscripts\TEST2.pwn(265) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.