C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(199) : warning 217: loose indentation C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(268) : warning 217: loose indentation C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1452) : warning 217: loose indentation C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1557) : error 017: undefined symbol "PlayerToPoint" C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1560) : error 017: undefined symbol "SafeSetPlayerPos" C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1562) : error 017: undefined symbol "Player" C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1562) : warning 215: expression has no effect C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1562) : error 001: expected token: ";", but found "]" C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1562) : error 029: invalid expression, assumed zero C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1562) : fatal error 107: too many error messages on one line
if(PlayerToPoint(1.0, playerid,952.5583,-909.3518,45.7656))//auto escola entrada
SafeSetPlayerPos(playerid,-2029.8271,-119.5075,1035.1719);//1560
GameTextForPlayer(playerid, "~y~bem vindo a~n~~r~auto escola", 5000, 1);
Player[playerid][pInt] = 3;//1562
enum pInfo
{
pInt,
pTut,
pLocal,
};
new Player[MAX_PLAYERS][pTut];
forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
if(IsPlayerConnected(playerid))
{
new Float:oldposx, Float:oldposy, Float:oldposz;
new Float:tempposx, Float:tempposy, Float:tempposz;
GetPlayerPos(playerid, oldposx, oldposy, oldposz);
tempposx = (oldposx -x);
tempposy = (oldposy -y);
tempposz = (oldposz -z);
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
{
return 1;
}
}
return 0;
}
forward SafeSetPlayerPos(playerid, Float:x, Float:y, Float:z);
public SafeSetPlayerPos(playerid, Float:x, Float:y, Float:z)
{
SetPlayerPos(playerid, x,y,z);
return 1;
}
topo do GM:
PHP код:
PHP код:
|
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(33) : error 017: undefined symbol "pTut"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(33) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(203) : warning 217: loose indentation
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(272) : warning 217: loose indentation
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1456) : warning 217: loose indentation
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1567) : error 017: undefined symbol "pLocal"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1574) : error 017: undefined symbol "pLocal"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : error 017: undefined symbol "cluckinexit"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : warning 215: expression has no effect
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : error 029: invalid expression, assumed zero
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.