Bin grad dabei Pickups zu mahcen bekomme aber follgende Warns.
Ich habe auch nochmal bei Wiki nachgeguckt aber da stands genauso.
ZitatAlles anzeigenC:\Users\Peter Power\Desktop\R8\gamemodes\TDM.pwn(158) : warning 213: tag mismatch
C:\Users\Peter Power\Desktop\R8\gamemodes\TDM.pwn(159) : warning 213: tag mismatch
C:\Users\Peter Power\Desktop\R8\gamemodes\TDM.pwn(643) : warning 211: possibly unintended assignment
C:\Users\Peter Power\Desktop\R8\gamemodes\TDM.pwn(647) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Warnings.
Die Zeilen:
//bei OnGameModeInit
t =CreatePickup(1274, 2,2624.2424,2810.7646,10.8203,256.6564);//158
ct = CreatePickup(1274, 2, 2536.2605, 2721.1992, 10.8203,341.8839);//159
public OnPlayerPickUpPickup(playerid, pickupid)//641
{
if(pickupid= t)//643
{
ShowPlayerDialog(playerid, Waffenmenu, DIALOG_STYLE_LIST, "Waffen", "Granaten(500$)\nRauch Granaten(500$)\nSpawn Off(1000$)\nSniper(1000$)", "Auswählen", "Abbrechen");
}
if(pickupid = ct)//647
{
ShowPlayerDialog(playerid, Waffenmenu, DIALOG_STYLE_LIST, "Waffen", "Granaten(500$)\nRauch Granaten(500$)\nSpawn Off(1000$)\nSniper(1000$)", "Auswählen", "Abbrechen");
}
return 1;
}//652
edit:hab vergessen zu sagen das die Pickups auch nicht erscheinen
Mit freundlichen Grüßen,
nickman