22.09.2009, 19:56
How do i Use the new Vehicle Streamer?
I have read the SA:MP wiki but I don't understand much of it :S
Can someone explain It for me?
My gamemode does currently use a function scripted,
that can be called,
Like;
How do I tell the streamer to;
If you understand what I mean, maybe that will work? Or?
I have read the SA:MP wiki but I don't understand much of it :S
Can someone explain It for me?
My gamemode does currently use a function scripted,
that can be called,
Like;
Код:
UnlockLSPDCars(playerid) { SetVehicleParamsForPlayer(1, playerid, 0, 0); SetVehicleParamsForPlayer(2, playerid, 0, 0); SetVehicleParamsForPlayer(3, playerid, 0, 0); SetVehicleParamsForPlayer(4, playerid, 0, 0); SetVehicleParamsForPlayer(5, playerid, 0, 0); SetVehicleParamsForPlayer(6, playerid, 0, 0); SetVehicleParamsForPlayer(7, playerid, 0, 0); SetVehicleParamsForPlayer(8, playerid, 0, 0); SetVehicleParamsForPlayer(9, playerid, 0, 0); SetVehicleParamsForPlayer(10, playerid, 0, 0); SetVehicleParamsForPlayer(11, playerid, 0, 0); SetVehicleParamsForPlayer(12, playerid, 0, 0); SetVehicleParamsForPlayer(13, playerid, 0, 0); SetVehicleParamsForPlayer(14, playerid, 0, 0); SetVehicleParamsForPlayer(15, playerid, 0, 0); SetVehicleParamsForPlayer(212, playerid, 0, 0); SetVehicleParamsForPlayer(213, playerid, 0, 0); SetVehicleParamsForPlayer(214, playerid, 0, 0); SetVehicleParamsForPlayer(215, playerid, 0, 0); SetVehicleParamsForPlayer(216, playerid, 0, 0); SetVehicleParamsForPlayer(217, playerid, 0, 0); SetVehicleParamsForPlayer(218, playerid, 0, 0); }
Код:
if(gteam[playerid] == Team_LSPD) { UnlockLSPDCars(playerid); return 1; }