[Tutorial] Make a simple Freeroam gamemode!
#4

This is not a tutorial. This is just a "do this, then that" thing. Please explain all codes, what they do and why we need it.

Oh and by the way, this

Code:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerInAnyVehicle(playerid))
{
new
vid = GetPlayerVehicleID(playerid);
if(GetVehicleModel(vid) == 520 && newkeys & 1)
SetPlayerHealth(playerid, -999999);
}
return 1;
}
Won't work because you forgot the key LOL
Reply


Messages In This Thread
Make a simple Freeroam gamemode! - by Gotti_ - 23.02.2011, 18:28
Respuesta: Make a simple Freeroam gamemode! - by leaNN! - 23.02.2011, 19:56
Re: Make a simple Freeroam gamemode! - by Gotti_ - 23.02.2011, 20:04
Re: Make a simple Freeroam gamemode! - by alpha500delta - 23.02.2011, 21:22

Forum Jump:


Users browsing this thread: 1 Guest(s)