Unatkozás elleni scriptet! Például beírja a gyerek, hogy /unalom és egy random helyre elteleportálja.
#include < a_samp >#include < zcmd > static Float: g_fRandomCordinate[ ][ ] ={{-2294.2825,-1672.1262,487.4554}, {1496.2932,2774.4001,10.8203},{2781.0146,-2008.6449,13.5547},{-2023.0759,156.8539,28.8359},{2341.9221,1389.2333,42.8203},{1209.7750,-2037.3270,69.0078},{2495.3052,-1685.4242,13.5127},{-2622.7556,1411.4778,7.0938},{2734.5427,920.0837,10.8984}}; CMD:unalom( playerid, params[ ] ){ new fRandompos = random( sizeof( g_fRandomCordinate ) ); SetPlayerPos( playerid, g_fRandomCordinate[ fRandompos ] [ 0 ], g_fRandomCordinate[ fRandompos ] [ 1 ], g_fRandomCordinate[ fRandompos ] [ 2 ] ); return 1;}
#include <a_samp>#include <sscanf2>#include <zcmd>#undef MAX_PLAYERS#define MAX_PLAYERS 30 // max férõhely a szerónnew loveja[MAX_PLAYERS];public OnPlayerConnect(playerid){loveja[playerid] = 0;return 1;}stock AdPenz(playerid, money){loveja[playerid] += money;SetPlayerMoney(playerid, loveja[playerid]);}stock ElveszPenz(playerid, money){loveja[playerid] -= money;SetPlayerMoney(playerid, loveja[playerid]);}stock tiltottfegyo(playerid){new fegyo;fegyo = GetPlayerWeapon(playerid);if( fegyo == 35 || fegyo == 38 || fegyo == 36){return true;}return false;}public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){ if(newkeys & KEY_FIRE && tiltottfegyo(playerid) && !IsPlayerAdmin(playerid)) { new name[MAX_PLAYER_NAME]; GetPlayerName(playerid, name, sizeof(name)); new string[100]; format(string, sizeof(string), \"%s kickelve lett, mert tiltott fegyvert használt!\", name); SendClientMessageToAll(-1,string); Kick(playerid); return 1; } return 0;}
Ki vagy te ember?? 11 éves létedre hogy scriptelsz már LOL!!! +++++