//_______POLIZEI DUTY________________
new id3 = strval(strget(cmdtext,1));
new gang = strval(strget(cmdtext,2));
if(strcmp("/Duty", cmdtext, true) == 0)
{
if (IsPlayerInRangeOfPoint(playerid, 3, 199.2017,170.0195,1003.0234))
{
if(gang==2) { SetPlayerSkin(id3,280);Spieler[playerid][leader]= 2; }
{
GivePlayerWeapon(playerid, 24, 50);GivePlayerWeapon(playerid, 29, 200);
{
SetPlayerArmour(playerid, 100);
}
SendClientMessage(playerid, COLOR_GRAD1, "Du bist jetzt im Dienst!");
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "Du bist kein Polizist!");
}
return 1;
}
}
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(1311) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(1340) : warning 217: loose indentation
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\myrl.pwn(1442) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Der fehler ist bei Else warum ??