zroT Posted May 21, 2011 Report Share 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? Link to comment Share on other sites More sharing options...
Ryder_RO Posted May 22, 2011 Report Share Posted May 22, 2011 nushtiu man.......... Link to comment Share on other sites More sharing options...
xxSPEEDYxx Posted May 22, 2011 Report Share Posted May 22, 2011 nu cred ca se poate face o\ comanda din aia...numai daca faci tu o animatie... Fara reclama in semnatura! Link to comment Share on other sites More sharing options...
scr3ws0f7 Posted May 22, 2011 Report Share Posted May 22, 2011 ce imaginatie bogata aveti :grin: dar nu exista :wink:(eu asa cred) <a href=http://devilone.ro></a> Link to comment Share on other sites More sharing options...
IstuntmanI Posted May 22, 2011 Report Share 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 ... Link to comment Share on other sites More sharing options...
zroT Posted May 22, 2011 Author Report Share Posted May 22, 2011 ma gandeam sa mearga comanda numai cand e animul ala care inoata. Link to comment Share on other sites More sharing options...
Guest farse Posted May 22, 2011 Report Share Posted May 22, 2011 sa ce?GetPlayerAnimIndex==anim_swim -> applyanimation(drink_cum,repeting=1); Link to comment Share on other sites More sharing options...
LaZ Posted May 22, 2011 Report Share Posted May 22, 2011 Foloseste GetAnimationName sa verifici daca jucatorul ii in apa (daca inoata) si dai heal. Link to comment Share on other sites More sharing options...
zroT Posted May 22, 2011 Author Report Share Posted May 22, 2011 dati-m si mie coordonatele de la animul ala de sta pluta in apa. Link to comment Share on other sites More sharing options...
LaZ Posted May 22, 2011 Report Share Posted May 22, 2011 Pune GetAnimationName intr-o functie public, cheam-o cu un timer si intra in apa. Link to comment Share on other sites More sharing options...
zroT Posted May 23, 2011 Author Report Share 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? Link to comment Share on other sites More sharing options...
vampir_MD Posted May 24, 2011 Report Share 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 Link to comment Share on other sites More sharing options...
zroT Posted May 24, 2011 Author Report Share 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. Link to comment Share on other sites More sharing options...
Guest farse Posted May 24, 2011 Report Share 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] Link to comment Share on other sites More sharing options...
Question
zroT
Cum pot faca o comanda, sa pot sa beau apa din orice lac, ocean de pe harta? si sa creasta viata?
Link to comment
Share on other sites
13 answers to this question
Recommended Posts