15.12.2012, 09:42
Just add the information inside the callbacks together (not the returns). So here is how it would look:
pawn Код:
#include <a_samp>
#define FILTERSCRIPT
#define COLOR_LIGHTBLUE 0x33CCFFAA
new p1;
new p2;
//Or we could do new p1, p2;
public OnFilterScriptInit()
{
p1 = CreatePickup(1318, 1, -1999.9729,80.0172,27.6799);// model,type,z,x,y
p2 = CreatePickup(1318, 1, -2326.9583,-140.2599,35.5547);// model,type,z,x,y
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)//pickup related function
{
if(pickupid == p1)//this to make sure that the pickup we want is marker
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Informacija Uюdarbis 10LT/Min Paskirtis: Pjauti юole");
}
if(pickupid == p2)//this to make sure that the pickup we want is marker
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "* Informacija Uюdarbis 12LT/Min Paskirtis: Iрveюioti picas");
}
return 1;
}