SA-MP Forums Archive
[Include] Insanity Pickups Control - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+----- Forum: Lançamentos/Releases (https://sampforum.blast.hk/forumdisplay.php?fid=56)
+----- Thread: [Include] Insanity Pickups Control (/showthread.php?tid=181613)



Insanity Pickups Control - CyNiC - 06.10.2010

• Insanity Pickups Control •
- Descriзгo

Esse include tenta te dar um maior controle sobre os pickups de seu servidor.

- Autor

Allan Jader (CyNiC)

- Nota

Vocк pode alterar ou divulgar esse include o quanto quiser, porйm mantenha os crйtidos.

- Funзхes

pawn Code:
C_CreatePickup(model,type,Float:X,Float:Y,Float:Z,interiorid,virtualworld);
C_DestroyPickup(pickupid);
C_SetPickupPos(pickupid,Float:X,Float:Y,Float:Z,interiorid,virtualworld);
GoToPickup(playerid,pickupid);
GetPlayerLastPickup(playerid);
GetPlayerPickupedAmount(playerid);
GetPlayerPickupedList(playerid);
- Importante:

Adcione essa funзгo no callback OnPlayerPickUpPickup:

pawn Code:
Cy_OnPlayerPickUpPickup(playerid,pickupid);
- Download

4Shared



Respuesta: Insanity Pickups Control - BiieL - 06.10.2010

Seria um streamer

Parece bom


Re: Insanity Pickups Control - zSuYaNw - 06.10.2010

vocк devia explicar para que serve cada funзгo nйййййh


Re: Insanity Pickups Control - ipsBruno - 06.10.2010

Muito Bom CINICO,rs
Garfield se nгo entendeu as funзхes /semata


Re: Insanity Pickups Control - HigorOliver - 06.10.2010

Quote:
Originally Posted by [FeK]DraKiNs
View Post
Muito Bom CINICO,rs
Garfield se nгo entendeu as funзхes /semata
Euri Velho SE mata rsrs zueraa tipo usa
SetPlayerHealth(playerid,0);


Re: Insanity Pickups Control - CyNiC - 07.10.2010

pawn Code:
C_CreatePickup(model,type,Float:X,Float:Y,Float:Z,interiorid,virtualworld);//Criar um pickup que possa ser usado pelas funзхes desse include
C_DestroyPickup(pickupid);//Уbvio
C_SetPickupPos(pickupid,Float:X,Float:Y,Float:Z,interiorid,virtualworld);//Muda a posiзгo do pickup
GoToPickup(playerid,pickupid);//Vai ao pickup mesmo se estiver em interior ou virtualworld diferente
GetPlayerLastPickup(playerid);//Obtem o id do ъltimo pickup pego pelo jogador
GetPlayerPickupedAmount(playerid);//Obtem quantas vezes o jogador pegou pickups
GetPlayerPickupedList(playerid); //Retorna em string todos pickups pegos pelo jogador
IsPlayerInRangeOfPickup(playerid,pickupid,Float:range); //Verifica se o jogador estб proximo ao pickup, a melhor funзгo e eu esqueci de colocar.