//ADMINWAFFEN///
if (strcmp(cmd, "/adminpack", true) == 0 || strcmp(cmd, "/ap", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] == 1)
{
if (IsPlayerInRangeOfPoint(playerid,3.0,2311.1758,-1135.9795,1054.3047)
if(PlayerInfo[playerid][pAdmin] == 1)
{
SendClientMessage(playerid,FARBE,"Du hast dir einen Adminpack rausgeholt!"
GivePlayerWeapon(playerid, 24, 999);
GivePlayerWeapon(playerid, 29, 999);
GivePlayerWeapon(playerid, 30, 999);
GivePlayerWeapon(playerid, 34, 999);
}
return 1;
}
}
Probiers mal so.
/E: Bei FARBE einen Farbcode einfügen.