Ajuda no meu server
#9

Quote:
Originally Posted by tshadow
deu mas quando cheguei ao server nгo estбva lб

pawn Код:
#include <a_samp>

#if defined FILTERSCRIPT

new NovoPickup;

NovoPickup = CreatePickup(1318, 0, 1234.4331,-2033.3112,61.0384);

public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == NovoPickup)
{
GameTextForPlayer(playerid"Los Santos PD");
SetPlayerPos(playerid,1234.4331,-2033.3112,61.0384);
}
}
return 1;
}


#endif
atenзгo ao tipo de pickup, usa o 23 se queres que ele fique lб sempre, assim:


pawn Код:
#include <a_samp>

new NovoPickup;

public OnGameModeInit()
{
NovoPickup = CreatePickup(1318, 23, 1234.4331,-2033.3112,61.0384);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == NovoPickup)
{
GameTextForPlayer(playerid"Los Santos PD");
SetPlayerPos(playerid,1234.4331,-2033.3112,61.0384);
}
}
return 1;
}
Reply


Messages In This Thread
Ajuda no meu server - by tshadow - 05.04.2010, 20:27
Re: Ajuda no meu server - by noobre - 05.04.2010, 20:30
Re: Ajuda no meu server - by tshadow - 05.04.2010, 20:43
Re: Ajuda no meu server - by andmeida10 - 05.04.2010, 20:44
Re: Ajuda no meu server - by Ambrуsio - 05.04.2010, 20:58
Re: Ajuda no meu server - by tshadow - 05.04.2010, 21:56
Re: Ajuda no meu server - by andmeida10 - 05.04.2010, 22:02
Re: Ajuda no meu server - by tshadow - 05.04.2010, 22:06
Re: Ajuda no meu server - by andmeida10 - 05.04.2010, 22:12
Re: Ajuda no meu server - by tshadow - 05.04.2010, 22:23

Forum Jump:


Users browsing this thread: 1 Guest(s)