09.07.2010, 08:16
moO! to all i got these errors
moO! they are in here
moO! to all and please help mehhs
Код:
C:\Users\Charlie\Desktop\SAMP Server\gamemodes\BEvA51.pwn(242) : warning 211: possibly unintended assignment C:\Users\Charlie\Desktop\SAMP Server\gamemodes\BEvA51.pwn(242) : error 001: expected token: "*then", but found ";" C:\Users\Charlie\Desktop\SAMP Server\gamemodes\BEvA51.pwn(242) : error 036: empty statement C:\Users\Charlie\Desktop\SAMP Server\gamemodes\BEvA51.pwn(250) : warning 211: possibly unintended assignment C:\Users\Charlie\Desktop\SAMP Server\gamemodes\BEvA51.pwn(250) : error 001: expected token: "*then", but found ";" C:\Users\Charlie\Desktop\SAMP Server\gamemodes\BEvA51.pwn(250) : error 036: empty statement Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
public OnPlayerSpawn(playerid) { if gTeam[playerid] = TEAM_MOBSTAS; { SetPlayerColor(playerid, 0xB8860BAA); SendClientMessage(playerid, COLOR_GOLD, "Type /MMission for your Mission"); SendClientMessage(playerid, COLOR_GOLD, "Mission is to Kill the Gangstas, They took over all of Las Venturas"); SendClientMessage(playerid, COLOR_GOLD, "They already took over Area 51, kill them all before they take moar!"); GivePlayerMoney(playerid, 25000); } if gTeam[playerid] = TEAM_GANGSTAS; { SetPlayerColor(playerid, 0xDC143CAA); SendClientMessage(playerid, COLOR_CRIMSON, "Type /GMission for your Mission"); SendClientMessage(playerid, COLOR_CRIMSON, "You took over all of Las Venturas, Kill the Mobstas from their attempt to take over Area 51"); SendClientMessage(playerid, COLOR_CRIMSON, "After taking over all of Las Venturas you have better supplies for attacking"); GivePlayerMoney(playerid, 50000); } SendClientMessage(playerid, COLOR_LIGHTPINK, "Welcome to the War son"); return 1; }