new tv;public OnFilterScriptInit(){tv = CreateObject(1518, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);return 1;}public OnFilterScriptExit(){DestroyPlayerObject(playerid, tv);DestroyObject(tv);return 1;}CMD:funhead(playerid, params[]){AttachObjectToPlayer(tv, playerid, 0, 0, 0.8, 0, 0, 180);return 1;}CMD:delfunhead(playerid, params[]){DestroyPlayerObject(playerid, tv);return 1;}
CMD:funhead( playerid, params[] ){new tv = CreateObject(1518, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);AttachObjectToPlayer(tv, playerid, 0, 0, 0.8, 0, 0, 180);return 1;}CMD:delfunhead(playerid, params[]){new tv = CreateObject(1518, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);DestroyPlayerObject(playerid, tv);DestroyObject(tv);return 1;}
CMD:funhead( playerid, params[] ){new tv = CreateObject(1518, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);AttachObjectToPlayer(tv, playerid, 0, 0, 0.8, 0, 0, 180);SetPVarInt(playerid, \"funheadID\", tv);return 1;}CMD:delfunhead(playerid, params[]){new tv = GetPVarInt(playerid, \"funheadID\");DestroyObject(tv);return 1;}