09.07.2009, 11:35
I cant find one, i tryed to search everywhere :S All i found was vehicle ownership etc...
Originally Posted by Don Correlli
If you haven't found any then ask in script request thread.
|
Originally Posted by Spatman
Quote:
|
Originally Posted by WeeDarr
Let me tell you, this ain't the 1000th post if I know what you mean.
http://forum.sa-mp.com/index.php?topic=94387.0 WeeDarr Edit: Quote:
|
// On Top:
new MyVehicle;
// OnGameModeInit
MyVehicle = CreateVehicle(451, 0, 0, 0, 0, 0, 0, 1000); // change the coordinates to your own
// OnPlayerStateChange
public OnPlayerStateChange(playerid, newstate, oldstate)
{
if(newstate == PLAYER_STATE_DRIVER && GetPlayerVehicleID(playerid) == MyVehicle) // check if the newstate is driver and the vehicleid is "MyVehicle"
{
SendClientMessage(playerid, 0xFFFF00, "Do a rent system here!"); // replace this with whatever you want todo when they enter "MyVehicle"
return 1;
}
return 1;
}
Originally Posted by Sneaky.
I can help you get started, but you will have to edit/add other stuff yourself:
pawn Код:
|
Originally Posted by Anarkien
No, it's not. It's the 1000'th page.
And search. There's a system here where you can admin buy all the cars and set them rentable.. just remove the text that says you own them. |
Originally Posted by Spatman
Quote:
What is this then? It was 999 before i made the topic.. |