zroT Posted May 21, 2011 Report Posted May 21, 2011 Cum pot faca o comanda, sa pot sa beau apa din orice lac, ocean de pe harta? si sa creasta viata?
xxSPEEDYxx Posted May 22, 2011 Report Posted May 22, 2011 nu cred ca se poate face o\ comanda din aia...numai daca faci tu o animatie... Fara reclama in semnatura!
scr3ws0f7 Posted May 22, 2011 Report Posted May 22, 2011 ce imaginatie bogata aveti :grin: dar nu exista :wink:(eu asa cred) <a href=http://devilone.ro></a>
IstuntmanI Posted May 22, 2011 Report Posted May 22, 2011 Se poate, dar cu mii de pozitii, animatie ... e foarte greu, mai bine nu te complica, sa iei mii de pozitii ...
zroT Posted May 22, 2011 Author Report Posted May 22, 2011 ma gandeam sa mearga comanda numai cand e animul ala care inoata.
Guest farse Posted May 22, 2011 Report Posted May 22, 2011 sa ce?GetPlayerAnimIndex==anim_swim -> applyanimation(drink_cum,repeting=1);
LaZ Posted May 22, 2011 Report Posted May 22, 2011 Foloseste GetAnimationName sa verifici daca jucatorul ii in apa (daca inoata) si dai heal.
zroT Posted May 22, 2011 Author Report Posted May 22, 2011 dati-m si mie coordonatele de la animul ala de sta pluta in apa.
LaZ Posted May 22, 2011 Report Posted May 22, 2011 Pune GetAnimationName intr-o functie public, cheam-o cu un timer si intra in apa.
zroT Posted May 23, 2011 Author Report Posted May 23, 2011 [pawn]if(strcmp(cmdtext, "/apa", true) == 0) { if (GetAnimationName(playerid)) { SetPlayerHealth(playerid, 100); GameTextForPlayer(playerid, "~r~+~w~100~r~HP", 5000, 1); } }[/pawn]Help....Cum verific daca playerul este in apa?
vampir_MD Posted May 24, 2011 Report Posted May 24, 2011 [pawn]if(strcmp(cmdtext, "/apa", true) == 0) { if (GetAnimationName(playerid)) { SetPlayerHealth(playerid, 100); GameTextForPlayer(playerid, "~r~+~w~100~r~HP", 5000, 1); } }[/pawn]Help....Cum verific daca playerul este in apa?sa pui if(IsPlayerInRangeOfPoint(playerid, 4, 844.7395,-1045.7008,25.4302)) cordenatele de unde trebue sa beaa eu teas sfatui sa faci tu locuri speciale ca cu asa ceva ai sa te bati de cap sa pui cordenate
zroT Posted May 24, 2011 Author Report Posted May 24, 2011 Nu im trebuie un punct, vreau sa mearga comanda /apa doar cand e un animul ala care sta pluta in apa.
Guest farse Posted May 24, 2011 Report Posted May 24, 2011 [pawn]if(strcmp(cmdtext, "/apa", true) == 0){ if(GetPlayerAnimationIndex(playerid)) { new animlib[32]; new animname[32]; new msg[128]; GetAnimationName(GetPlayerAnimationIndex(playerid),animlib,32,animname,32); if (strcmp("SWIM",animlib)==0) { SetPlayerHealth(playerid, 100); GameTextForPlayer(playerid, "~r~+~w~100~r~HP", 5000, 1); } }}[/pawn]
Question
zroT
Cum pot faca o comanda, sa pot sa beau apa din orice lac, ocean de pe harta? si sa creasta viata?
13 answers to this question
Recommended Posts