#include <a_samp>#include <zcmd>#include <colors>#pragma tabsize 0new Float:X;new Float:Y;new Float:Z; public OnPlayerDeath(playerid){SendClientMessage(playerid, COLOR_GREEN,\"Meghaltál! ha vissza akarsz menni: /back\");GetPlayerPos(playerid, X,Y,Z);return 1;}CMD:back(playerid, params[]){SetPlayerPos(playerid, X,Y,Z);return 1;}
#include <a_samp>#include <zcmd>#include <colors>#pragma tabsize 0new Float:X[MAX_PLAYERS];new Float:Y[MAX_PLAYERS];new Float:Z[MAX_PLAYERS]; public OnPlayerDeath(playerid){SendClientMessage(playerid, COLOR_GREEN,\"Meghaltál! ha vissza akarsz menni: /back\");GetPlayerPos(playerid, X[playerid],Y[playerid],Z[playerid]); return 1;}CMD:back(playerid, params[]){SetPlayerPos(playerid, X[playerid],Y[playerid],Z[playerid]); return 1;}