17.12.2013, 23:28
Deve funcionar, fiz bem rapidin. Usa como base
pawn Код:
COMMAND:veiculo( playerid, params[] ) {
new
IDVeh,
Pos [ 3 ]
;
if ( sscanf ( params , "i" , IDVeh ) )
return SendClientMessage ( playerid , -1 , "[ERRO]: /veiculo [id]" );
GetPlayerPos ( playerid, Pos [ 0 ], Pos [ 1 ], Pos [ 2 ] );
CreateVehicle ( IDVeh , Pos [ 0 ], Pos [ 1 ], Pos [ 2 ], 0, 0, 0, 9999 );
return 1;
}