Posts: 12
Threads: 1
Joined: Jan 2012
Reputation:
0
I would like to know if it is possible to make it so vehicles on my SA-MP server can be damaged, destroyed, or have tires popped when there are no players in them. I'm closer to being a beginner coder, but if i were given a string of code, and told whether it's a filterscript, gamemode or whatever i can use it.
Posts: 248
Threads: 44
Joined: Aug 2011
Reputation:
0
I remember see'ing a FS for this... Try ****** it out!
Posts: 12
Threads: 1
Joined: Jan 2012
Reputation:
0
Uhh okay the first guy who posted made no sense to me, please give me beginner instructions on how to do this!
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
If you want a system made for you, search around, I'm fairly certain one already exists.
Posts: 1,046
Threads: 29
Joined: Mar 2010
Some people still doesn't know how to hook functions/callbacks so you have to do
pawn Код:
public OnPlayerConnect(playerid)
{
D_OnPlayerConnect(playerid);
//The rest of your code under this callback...
}
public OnPlayerDisconnect(playerid, reason)
{
D_OnPlayerDisconnect(playerid);
//The rest of your code under this callback...
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
D_OnPlayerKeyStateChange(playerid, newkeys, oldkeys);
//The rest of your code under this callback...
}