ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,\"Notice\",\"You connected to the server\",\"Close\",\"\");
if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z)) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,\"Notice\",\"You connected to the server\",\"Close\",\"\"); } return 1;}
#include <a_samp>public OnPlayerUpdate(playerid){ if(IsPlayerInRangeOfPoint(playerid, 7.0, X, Y, Z))// X, Y, Z helyére írd a kordinátát! { ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_MSGBOX, \"Notice\", \"You connected to the server\", \"Close\",\"\"); } return 1;}
#include <a_samp>#include <zcmd>public OnFilterScriptInit(){print(\"\\n--Szkript Betöltve!.\\n\");return 1;}CMD:parancs(playerid, params[]){if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z)) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,\"Notice\",\"You connected to the server\",\"Close\",\"\"); }return 1;}
#include <a_samp>public OnPlayerUpdate(playerid){ if(IsPlayerInRangeOfPoint(playerid, 7.0, X, Y, Z))// X, Y, Z helyére írd a kordinátát! { ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_MSGBOX, \"Notice\", \"You connected to the server\", \"Close\",\"\"); } if(IsPlayerInRangeOfPoint(playerid, 7.0, X, Y, Z))// X, Y, Z helyére írd a kordinátát! { ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_MSGBOX, \"Józsi\", \"Józsi bácsi!\", \"Close\",\"\"); } return 1;}
Megelõztél :thumbsup:De itt van parancsal is ha így kellene: #include <a_samp>#include <zcmd>public OnFilterScriptInit(){print(\"\\n--Szkript Betöltve!.\\n\");return 1;}CMD:parancs(playerid, params[]){if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z)) { ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,\"Notice\",\"You connected to the server\",\"Close\",\"\"); }return 1;} Írd átt az X,Y,Z kordinátákat hol szeretnéd használni a parancsot !!