![]() |
#1 |
Big Clucker
![]() Join Date: Dec 2009
Posts: 45
Reputation: 0
|
![]()
----------------------------------
Last edited by Trenico; 03/04/2015 at 12:17 AM. |
![]() |
![]() |
#2 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: Argentina
Posts: 2,002
Reputation: 29
|
![]()
El tuto esta bastante bueno, me costo entenderte por que abrevias mucho :\. Pero el tuto esta bien. Felicitaciones
|
![]() |
![]() |
#3 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2009
Location: en mi casa
Posts: 1,766
Reputation: 1
|
![]()
El tuto esta bien, lastima tu super spam del principio, elimina el link porque te van a borrar el post.
|
![]() |
![]() |
#4 |
Big Clucker
![]() Join Date: Dec 2009
Posts: 45
Reputation: 0
|
![]()
uy si no me abia dado duenta ya lo edite
![]() |
![]() |
![]() |
#5 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2007
Location: Argentina
Posts: 1,200
Reputation: 71
|
![]()
No se considera spam si el link tiene relación directa con el tema, podés dejarlo si querés.
|
![]() |
![]() |
#6 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Location: Argentina
Posts: 4,655
Reputation: 239
|
![]()
esta bueno el tuto, bien explicado.
PD: podrias agregar esa funcion ("SetPlayerFacingPlayer") a al topic de funciones utiles ya que muchos por ahi no la conoscan, por ejemplo yo no la conocia... |
![]() |
![]() |
#7 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2009
Location: Andalucía, Spain.
Posts: 1,319
Reputation: 5
|
![]()
Vale, está bien pero cuida la ortografía...
|
![]() |
![]() |
#8 |
Little Clucker
![]() Join Date: Jul 2010
Posts: 8
Reputation: 0
|
![]()
Buen tutorial amigo. Te falto colocar el GetPlayerID, acá lo dejo:
Code:
stock GetPlayerID(const playername[], partofname=0) { new i; new playername1[64]; for (i=0;i<MAX_PLAYERS;i++) { if (IsPlayerConnected(i)) { GetPlayerName(i,playername1,sizeof(playername1)); if (strcmp(playername1,playername,true)==0) { return i; } } } new correctsigns_userid=-1; new tmpuname[128]; new hasmultiple=-1; if(partofname) { for (i=0;i<MAX_PLAYERS;i++) { if (IsPlayerConnected(i)) { GetPlayerName(i,tmpuname,sizeof(tmpuname)); if(!strfind(tmpuname,playername1[partofname],true, 0)) { hasmultiple++; correctsigns_userid=i; } if (hasmultiple>0) { return -2; } } } } return correctsigns_userid; } |
![]() |
![]() |
#9 |
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2009
Location: Andalucía, Spain.
Posts: 1,319
Reputation: 5
|
![]() |
![]() |
![]() |
#10 |
Little Clucker
![]() Join Date: Jul 2010
Posts: 8
Reputation: 0
|
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|