Quote:
Originally Posted by Los
Topo:
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 '-'