[DUV] Estacionar e Pagar
#5

Cara Isso que tu pediste йs complexo demais mesmo assim eu sei como fazer olha:
vou lhe dar os passos agora nгo estou com 'saco' as explicar:


Topo GM:
pawn Код:
new CARRODOGAY:
forward CARRODOGAY();
forward CARRODOGAYTEMPO();
OnGameModeInit:
pawn Код:
new CARRODOGAY = CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);
OnPlayerExitVehicle:
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == CARRODOGAY)
{
new TEMPODOCARROGAY;
TEMPODOCARROGAY = SetTimerEx("CARRODOGAY",1000,false,"ii",playerid,id);
}
return 1;
}
Entгo:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == CARRODOGAY)
{
KillTimer(TEMPODOCARROGAY);
}
return 1;
}
Entгo Aqui a Public
pawn Код:
public CARRODOGAY();
{
for (new i = 0; i < 3; i++)//AQUI TA ERRADO EU NAUM LEMBRO A FUNЗГO DICOR
{
GivePlayerMoney(i,-100);
}
return 1;
}
Espero Ter lhe Ajudado Bjuus


Nгo Sei Se Estar Certo Apenas Estou lhe dando uma leve ajudado agora vou durmir fuii

Reply


Messages In This Thread
[DUV] Estacionar e Pagar - by Scratchy_Nutz - 19.05.2010, 18:58
Re: [DUV] Estacionar e Pagar - by andmeida10 - 19.05.2010, 19:03
Re: [DUV] Estacionar e Pagar - by Scratchy_Nutz - 19.05.2010, 19:07
Re: [DUV] Estacionar e Pagar - by Baddark2131 - 20.05.2010, 01:26
Re: [DUV] Estacionar e Pagar - by ipsBruno - 20.05.2010, 02:05
Re: [DUV] Estacionar e Pagar - by andmeida10 - 20.05.2010, 05:53
Re: [DUV] Estacionar e Pagar - by Scratchy_Nutz - 20.05.2010, 16:25
Re: [DUV] Estacionar e Pagar - by andmeida10 - 21.05.2010, 12:06
Re: [DUV] Estacionar e Pagar - by russo666 - 21.05.2010, 12:32
Re: [DUV] Estacionar e Pagar - by ipsBruno - 21.05.2010, 13:22

Forum Jump:


Users browsing this thread: 1 Guest(s)