[Ajuda] Carro
#6

Quote:
Originally Posted by Los
Посмотреть сообщение
Topo:

pawn Код:
Carro[MAX_PLAYERS];
Dialog:
pawn Код:
if((400 > strval(inputtext) > 611) || strval(inputtext) == 425 || strval(inputtext) == 432 || strval(inputtext) == 520) return SendClientMessage(playerid, -1, "ID invalido!");
new Float:pos[3];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
Carro[playerid] = CreateVehicle(strval(inputtext), pos[0], pos], pos[2], 0, 0, 0, 999999));
PutPlayerInVehicle(playerid, Carro[playerid], 0);
return 1;
OnPlayerExitVehicle:

pawn Код:
DestroyVehicle(playerid, Carro[playerid]);
OnPlayerExitVehicle , nгo tem essa public '-'
Reply


Messages In This Thread
[Ajuda] Carro - by Laercio - 05.12.2011, 15:45
Re: [Ajuda] - by steki. - 05.12.2011, 15:53
Re: [Ajuda] - by Lуs - 05.12.2011, 15:55
Re: [Ajuda] - by Laercio - 05.12.2011, 15:55
Re: [Ajuda] - by Don_Speed - 05.12.2011, 15:56
Re: [Ajuda] - by Laercio - 05.12.2011, 15:58
Re: [Ajuda] - by Lуs - 05.12.2011, 16:00
Re: [Ajuda] - by Laercio - 05.12.2011, 16:02
Re: [Ajuda] - by Lуs - 05.12.2011, 16:04
Re: [Ajuda] Carro - by Laercio - 05.12.2011, 16:07

Forum Jump:


Users browsing this thread: 3 Guest(s)