[Ayuda] "NameTimer" - 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: Español/Spanish (
https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [Ayuda] "NameTimer" (
/showthread.php?tid=334660)
[Ayuda] "NameTimer" -
albolakaro - 15.04.2012
Me sale el siguiente error quien me puede ayudar, de ya gracias
error 021: symbol already defined: "NameTimer"
pawn Код:
public NameTimer()
{
for(new i = 0;i < MAX_PLAYERS;i++)
{
if(IsPlayerConnected(i))
{
for(new q = 0;q < MAX_PLAYERS;q++)
{
if(IsPlayerConnected(q))
{
new Float:p1x;
new Float:p1y;
new Float:p1z;
new Float:p2x;
new Float:p2y;
new Float:p2z;
if(IsPlayerConnected(i) && IsPlayerConnected(q))
{
GetPlayerPos(i,p1x,p1y,p1z);
GetPlayerPos(q,p2x,p2y,p2z);
if(GetPointDistanceToPointExMorph(p1x,p1y,p1z,p2x,p2y,p2z) < pdistance)
{
if(PlayerInfo[q][pMaskuse] != 1)
{
ShowPlayerNameTagForPlayer(i,q,1);
}
}
else
{
ShowPlayerNameTagForPlayer(i,q,0);
}
}
}
}
}
}
}
Re: [Ayuda] "NameTimer" -
Soi_salva - 15.04.2012
podrнas poner el cуdigo en [ pwn][ /pwn]( no espacios) por favor?.
Asegura que tu Funciуn este declarada con
y tambiйn que no este declarado como variable (
new).
Respuesta: [Ayuda] "NameTimer" -
Lunnatiicz - 15.04.2012
Lo tienes definido 2 veces lol
Respuesta: [Ayuda] "NameTimer" -
-[R]hysi- - 15.04.2012
Borralo.Habia un include que ya lo tenia definido .Tiene razуn Lunnatiicz lo tienes definido
Re: Respuesta: [Ayuda] "NameTimer" -
albolakaro - 15.04.2012
Ok, gracias

estoy recien empezando asdasdas
Respuesta: [Ayuda] "NameTimer" -
Glimma - 18.06.2012
Es muy sencillo, esa funciуn viene implementada en morphinc.inc