Skip to content

Instantly share code, notes, and snippets.

Andy RogueDrifter

Block or report user

Report or block RogueDrifter

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rAfk_Checker.inc
/*
Simple afk checker by Rogue 2018 Sept 2nd.
Functions:
__________
IsPlayerPaused(playerid);
IsPlayerAFK(playerid);
Callbacks:
__________
View Hammer.inc
//Function: HammerPlayer(playerid, Float:speed); || PenetratePlayer(playerid, Float:speed);
#if defined _rHammerPlayer_Included
#endinput
#endif
#define _rHammerPlayer_Included
#include <a_samp>
new ActualHammer[MAX_PLAYERS];
View CitiesCmds.pwn
//Thread: http://forum.sa-mp.com/showthread.php?p=3975279
CMD:gotovice(playerid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 696967);
SetVehicleVirtualWorld(GetPlayerVehicleID(playerid),696967);
SetVehiclePos(GetPlayerVehicleID(playerid),5017.89203,834.71497,11.0);
SetVehicleZAngle(GetPlayerVehicleID(playerid), 180);
View CustomSkins.inc
//Custom skin support Include RogueDrifter 2018-1-13
#include <a_samp>
GetPlayerSkinEx(playerid)
return (GetPlayerCustomSkin(playerid) <= 0) ? GetPlayerSkin(playerid) : GetPlayerCustomSkin(playerid);
#if defined _ALS_GetPlayerSkin
#undef GetPlayerSkin
#else
#define _ALS_GetPlayerSkin
View Snippets.inc
//Useful snippets by Rogue 2018/2/20
//Get Weapon Slot from id:
stock GetWeaponSlot(weaponid)
{
switch(weaponid)
{
case 0..1: return 0;
case 2..9: return 1;
You can’t perform that action at this time.