Errores de comando de teleport
#1

C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(99) : error 017: undefined symbol "GetHealth"
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(106) : error 029: invalid expression, assumed zero
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(106) : warning 221: label name "Float" shadows tag name
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(106) : error 017: undefined symbol "GetHealth"
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(107) : warning 221: label name "Float" shadows tag name
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(107) : error 017: undefined symbol "GetHealth"
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(111) : warning 213: tag mismatch
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(114) : warning 225: unreachable code
C:\Documents and Settings\win\Escritorio\Sa-Mp Server 0.3\gamemodes\LSTDM.pwn(106) : warning 203: symbol is never used: "Float"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

pawn Код:
if (!strcmp("/A51A",cmdtext,true))
{
    if (GetHealth(playerid) < 60) return SendClientMessage(playerid,AVISO,"Como minimo, debes de tener 60 por cien de vida!");
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid,268.84,-30.09,1883.15);
    SetPlayerFacingAngle(playerid,0.0);
    SendClientMessage(playerid,0xffffffff,"Te has teletransportado a Area 51, Base A");
    return 1;
}
forward Float:GetHealth(playerid);
Float:GetHealth(playerid)
{
    new Float:health;
    GetPlayerHealth(playerid,health);
    return health;
}
Reply
#2

Ahh lo siento, no fue nada, vieron que puse todo junto, pues solo era que los forward y lсos new ivan aarriba, no me fije que abia que ponerlos jaja, borren o cierren
Reply
#3

Quote:
Originally Posted by Suk
Ahh lo siento, no fue nada, vieron que puse todo junto, pues solo era que los forward y lсos new ivan aarriba, no me fije que abia que ponerlos jaja, borren o cierren
Buena la autoayuda, jeje, me alegro que sepas fijarte en tus errores.
Reply
#4

Si, esq lo puse y no me fije en eso jaja
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)