07.09.2012, 04:29
Olha o cуdigo й este mas como eu faзo para policial nгo poder explodir e ver se ta certo PF
pawn Код:
forward recuperar();
new testobject
public OnGameModeInit()
{
testobject = CreateObject(988, 266.3486328125, 82.4482421875, 1000.0884399414, 0, 0, 89.324340820313, 300.0);
return 1;
}
if(strcmp("/explodircela01", cmd, true) == 0)
{
CreateExplosion(266.3486328125, 82.4482421875, 1000.0884399414)
DestroyObject(testobject);
SetTimer("recuperar", 1000, 1);
return 1;
}
public recuperar()
{
testobject = CreateObject(988, 266.3486328125, 82.4482421875, 1000.0884399414, 0, 0, 89.324340820313, 300.0);
return 1;
}
public OnGameModeInit()
{
Create3DTextLabel("Digite: /explodircela01",COR_3DLABEL,266.3486328125, 82.4482421875, 1000.0884399414,20.0,0);
return 1;
}