11.01.2012, 18:18
bem , eu arrumei os bugs do meus portхes , o da rotaзгo de quando vocк passa seu gm para 0.3d ...
Entгo a cada portгo que desbugava aparecia 2 warnings e acumulou-se , sei que compila mesmo com warns , mas eles incomodam e sгo chatos .
E agora todo o script do portгo
Entгo a cada portгo que desbugava aparecia 2 warnings e acumulou-se , sei que compila mesmo com warns , mas eles incomodam e sгo chatos .
pawn Код:
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32847) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32847) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32847) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32862) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32862) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32862) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32877) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32877) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32877) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32892) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32892) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32892) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32937) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32937) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32937) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32952) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32952) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32967) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32967) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(32967) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33023) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33023) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33023) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33037) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33037) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33037) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33052) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33052) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33052) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33111) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33111) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33111) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33112) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33112) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(33112) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44233) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44233) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44233) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44269) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44269) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44269) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44274) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44274) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44274) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44279) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44279) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44279) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44299) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44299) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44299) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44309) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44309) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44309) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44314) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44314) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44314) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44319) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44319) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44319) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44324) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44324) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44324) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44339) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44339) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44339) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44344) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44344) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44344) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44345) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44345) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Felipe\Desktop\Brazil Life Project\gamemodes\BMG.pwn(44345) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 10608 bytes
Code size: 2050248 bytes
Data size: 2782584 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 4859824 bytes
71 Warnings.
pawn Код:
new PDDOORb;
pawn Код:
forward GaragemDpClosed2();
pawn Код:
PDDOORb = CreateObject( 985 , 250.774871 , 60.822799 , 1003.640625 , 0.000000 , 0.000000 , 5130.000000 );
pawn Код:
if(strcmp(cmd, "/pr", true) == 0)
{
if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 250.774871 , 60.822799 , 1003.640625))
{ //GateGaragem
MoveObject( PDDOORb, 250.774871 , 60.822799 , 1006.862670, 3, 0, 0, 5130.000000); //linha 32847 - warn
GameTextForPlayer(playerid, "~w~Porta da Recepcao ~n~~b~Aberto", 5000, 3);
SetTimer("GaragemDpClosed2", 5000, false);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo estб perto do portгo ou nгo й um Oficial ");
}
return 1;
}
pawn Код:
public GaragemDpClosed2()
{
MoveObject(PDDOORb,250.774871 , 60.822799 , 1003.640625, 2.0, 0, 0, 5130.000000);//GaragemClosed
return 1;
}

