Hali, kezdõként próbálok csinálni pickupot, de mikor Run-ra megyek Warning-ot és error-t dob ki, vagy is 1 error-t és az a következõ:OnPlayerPickUpPickup
de a többi itt van: D:\\SAMP GM !\\SAMP [GM]\\ALC-RPG.pwn(28) : warning 213: tag mismatch
D:\\SAMP GM !\\SAMP [GM]\\ALC-RPG.pwn(28) : warning 202: number of arguments does not match definition
D:\\SAMP GM !\\SAMP [GM]\\ALC-RPG.pwn(29) : warning 213: tag mismatch
D:\\SAMP GM !\\SAMP [GM]\\ALC-RPG.pwn(29) : warning 202: number of arguments does not match definition
D:\\SAMP GM !\\SAMP [GM]\\ALC-RPG.pwn(169) : error 021: symbol already defined: \"OnPlayerPickUpPickup\"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
28-as sor: pickuprbe = CreatePickup(1242, -1643.1455,-2245.5320,31.4766);
29-es sor: pickuprki = CreatePickup(1242, -1648.4455,-2245.5220,31.4166);
#include < a_samp >
#define COLOR_RED 0xff0000AA
#define COLOR_BLUE 0x001affAA
#define COLOR_GREEN 0x0ff122AA
#define COLOR_VKEK 0x058484AA
new pickuprbe; //Rendõr Pickup Be
new pickuprki; //Rendõr Pickup Ki
public OnGameModeInit()
{
SetGameModeText(\"TESZT Pickup v0.1\");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
//==============|Teleport PicKupok|===============//
pickuprbe = CreatePickup(1242, -1643.1455,-2245.5320,31.4766);
pickuprki = CreatePickup(1242, -1648.4455,-2245.5220,31.4166);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
//Rendõrség
if(pickupid == pickuprbe)
{
SetPlayerPos(playerid, -1643.1455,-2245.5320,31.4766); //Teleportálás
GameTextForPlayer(playerid,\"Rendorseg\",5000,5); //Képernyõ közepénre kiír
SendClientMessage(playerid, 0xff0000AA, \"Üdvözöljük a Red County Rendõrségen\"); //Chatboxban megjelenõ üzenet
}
if(pickupid == pickuprki)
{
SetPlayerPos(playerid, -1648.4455,-2245.5220,31.4166); //Teleportálás
GameTextForPlayer(playerid,\"Dillimore\",5000,5); //Képernyõ közepénre kiír
}
return 1;
}