Professional Documents
Culture Documents
Ghostrider Filterscript
-» Author : robin_be (yugecin)
-» Release Date : 23th March 2012
-» Description : Puts flames around a 'freeway' like the ghost rider cleo
mod
-» Video : http://www.youtube.com/watch?v=nF825-2v7bc
-» forum post : http://forum.sa-mp.com/showthread.php?t=328072
**************************************************************/
#include <a_samp>
new grider[MAX_PLAYERS][3];
public OnFilterScriptInit() return print("[FS]Ghostrider Loaded!");
public OnFilterScriptExit() {
for(new i=0; i < MAX_PLAYERS+1; i++){
if(grider[i][0]){
DestroyObject(grider[i][0]);
DestroyObject(grider[i][1]);
DestroyObject(grider[i][2]);
grider[i][0] = 0;
}
}
return print("[FS]Ghostrider Unloaded!");
}
public OnPlayerConnect(playerid)
{
grider[playerid][0] = 0;
grider[playerid][1] = 0;
grider[playerid][2] = 0;
}