Ich versuche gerade das [ SCRIPTING ] Tutorial zum gTEAM [Anfänger Freundlich] //Updated
In meinen Gamemode einzubauen.
Habe jetzt aber eine Fehlermeldung die ich nicht zu klären weiss.
C:\Users\Beni\Desktop\GTA\Alter Server things\Server\gamemodes\Yeah!.pwn(261) : error 036: empty statement
Ehm hier im Forum ist damit die Zeile 8 gemeint.
Hier der Ausschnitt des Script
public OnPlayerSpawn(playerid)
{
new pname[MAX_PLAYERS],accFormat[128];
GetPlayerName(playerid,pname,sizeof pname);
format(accFormat,sizeof accFormat,"%s.datei",pname);
if(dini_Isset(accFormat,"lastx"))
{
if(gTeam[playerid] == TEAM_Police);
{
SetPlayerColor(playerid, 0x006EFFFF);
GivePlayerWeapon(playerid,22,100);
}
}
//waffen
GivePlayerWeapon(playerid,0,0);//slot 00
GivePlayerWeapon(playerid,0,0);//slot 01
GivePlayerWeapon(playerid,0,0);//slot 02
GivePlayerWeapon(playerid,0,0);//slot 03 -
GivePlayerWeapon(playerid,0,0);//slot 04
GivePlayerWeapon(playerid,0,0);//slot 05 -
GivePlayerWeapon(playerid,0,0);//slot 06 -
GivePlayerWeapon(playerid,0,0);//slot 07 -
GivePlayerWeapon(playerid,0,0);//slot 08 -
GivePlayerWeapon(playerid,0,0);//slot 09 -
GivePlayerWeapon(playerid,0,0);//slot 10 -
GivePlayerWeapon(playerid,0,0);//slot 11 -
GivePlayerWeapon(playerid,0,0);//slot 12 -
GivePlayerMoney(playerid, 1000);
return 1;
}