SA-MP Forums Archive
[Tutorial] Make a simple Freeroam gamemode! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Tutorials (https://sampforum.blast.hk/forumdisplay.php?fid=70)
+---- Thread: [Tutorial] Make a simple Freeroam gamemode! (/showthread.php?tid=230536)



Make a simple Freeroam gamemode! - Gotti_ - 23.02.2011

//deleted


Respuesta: Make a simple Freeroam gamemode! - leaNN! - 23.02.2011

Ehhmmm...
This can't be considered a tutorial, you didn't explained so much...
And next time, use [.pawn] and [./pawn] (without dots).

Sorry my bad english, im from Argentina.
Good luck next time!


Re: Make a simple Freeroam gamemode! - Gotti_ - 23.02.2011

i know .. its better to upload gamemode like this, but... maybe it will help to someone


Re: Make a simple Freeroam gamemode! - alpha500delta - 23.02.2011

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