new LSPDA;
LSPDA= CreatePickup(1242,2,1580.2997,-1634.4888,13.5619);
{
if(pickupid == LSPDA)
{
//SendClientMessageToAll(Farbe,"Text);
//SendClientMessage(Empfänger,Farbe,"Text");
SetPlayerArmour(playerid,100);
SendClientMessage(playerid,BLUE_NEW,">> Du hast jetzt eine Schutzweste <<");
//DestroyPickup(LSPDA);
}
return 1;
}
Error Meldung:
C:\Users\Daniel\Desktop\Server\gamemodes\TuT.pwn(542) : error 055: start of function body without function header
C:\Users\Daniel\Desktop\Server\gamemodes\TuT.pwn(543) : error 010: invalid function or declaration
C:\Users\Daniel\Desktop\Server\gamemodes\TuT.pwn(547) : error 021: symbol already defined: "SetPlayerArmour"
C:\Users\Daniel\Desktop\Server\gamemodes\TuT.pwn(550) : error 054: unmatched closing brace ("}")
C:\Users\Daniel\Desktop\Server\gamemodes\TuT.pwn(551) : error 010: invalid function or declaration
C:\Users\Daniel\Desktop\Server\gamemodes\TuT.pwn(177) : warning 204: symbol is assigned a value that is never used: "LSPDA"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Woran liegt's?
EDIT: FEHLER im Text