09.02.2014, 22:23
public OnPlayerEnterCheckpoint(playerid)
{
// loja de armas 1
if(CheckLojaArmas)
{
CheckLojaArmas = CPS_AddCheckpoint(295.5655,-80.5008,1001.5156,1.2,40);
Ammunation(playerid);
}
// pizzaria 1
if(CheckLojaComidas)
{
CheckLojaComidas = CPS_AddCheckpoint(376.5044,-67.5621,1001.5151,1.2,40);
Comidas(playerid);
}
return 1;
}
{
// loja de armas 1
if(CheckLojaArmas)
{
CheckLojaArmas = CPS_AddCheckpoint(295.5655,-80.5008,1001.5156,1.2,40);
Ammunation(playerid);
}
// pizzaria 1
if(CheckLojaComidas)
{
CheckLojaComidas = CPS_AddCheckpoint(376.5044,-67.5621,1001.5151,1.2,40);
Comidas(playerid);
}
return 1;
}