22.09.2013, 07:45
Bueno mi problema es que al compilar el gamemode me tira este waring en un script que realize de garage cuando lo voy a compilar para probar no me anda sin poner que entre con el auto funciona cuando quiero que entre con el auto no funciona
Warings:
Warings:
pawn Код:
C:\Documents and Settings\Administrador\Escritorio\Mega\Gamemode\gamemodes\mega.pwn(19592) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Mega\Gamemode\gamemodes\mega.pwn(19592) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Escritorio\Mega\Gamemode\gamemodes\mega.pwn(19592) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 18936 bytes
Code size: 2160424 bytes
Data size: 2232572 bytes
Stack/heap size: 16384 bytes; estimated max. usage=6551 cells (26204 bytes)
Total requirements: 4428316 bytes
3 Warnings.
pawn Код:
zcmd(gentrar, playerid, params[])
{
if(IsPlayerConnected(playerid))
{
for(new i = 0; i < sizeof(HouseInfo); i++)
{
if (PlayerToPoint(3, playerid,HouseInfo[i][hgEntrancex], HouseInfo[i][hgEntrancey], HouseInfo[i][hgEntrancez]))
{
if(PlayerInfo[playerid][pPhousekey] == i || HouseInfo[i][hLock] == 0)
{
if(GetPlayerState(playerid) == 2){
SetVehiclePos(GetPlayerVehicleID(playerid), HouseInfo[i][hgExitx],HouseInfo[i][hgExity],HouseInfo[i][hgExitz],0,HouseInfo[i][hgInt],HouseInfo[i][hgWorld]); // linea del waring
}
else{
SetPosEx(playerid, HouseInfo[i][hgExitx],HouseInfo[i][hgExity],HouseInfo[i][hgExitz],0,HouseInfo[i][hgInt],HouseInfo[i][hgWorld]);
return 1;
}
}
else
{
GameTextForPlayer(playerid, "~r~Garage cerrado", 5000, 1);
}
}
}
}
return 1;
}