CMD:enter(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3, 1568.6550,-1690.3239,5.8906) return 1; // a return után hogy mi történjen ha nincs azon a helyen... // mivel ott a ! jel azért van az hogy ha nem igaz!//-------------------------------------------------------------------- innentõl az következik mivan ha igaz az állítás... SetPlayerInterior(playerid, 1); SetPlayerPos(playerid,246.3014,87.3710,1003.6406); return 1; }
C:\\Users\\Sweep\\Desktop\\Test mode\\server1\\filterscripts\\lspd1.pwn(7) : error 001: expected token: \")\", but found \"-identifier-\"C:\\Users\\Sweep\\Desktop\\Test mode\\server1\\filterscripts\\lspd1.pwn(15) : error 001: expected token: \")\", but found \"-identifier-\"Valaki nem tudja ez milyen hiba? Oo? #include <a_samp>#include <zcmd>CMD:enter(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3, 1568.6550,-1690.3239,5.8906) SetPlayerInterior(playerid, 1); SetPlayerPos(playerid,246.3014,87.3710,1003.6406); return 1; } CMD:exit(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3,246.3014,87.3710,1003.6406) SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1568.6550,-1690.3239,5.8906); return 1; }
#include <a_samp>#include <zcmd>CMD:enter(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3, 1568.6550,-1690.3239,5.8906) SetPlayerInterior(playerid, 1); SetPlayerPos(playerid,246.3014,87.3710,1003.6406); return 1; } CMD:exit(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3,246.3014,87.3710,1003.6406) SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1568.6550,-1690.3239,5.8906); return 1; }
#include <a_samp>#include <zcmd>CMD:enter(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3, 1568.6550,-1690.3239,5.8906)) SetPlayerInterior(playerid, 1); SetPlayerPos(playerid,246.3014,87.3710,1003.6406); return 1; } CMD:exit(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid,3,246.3014,87.3710,1003.6406)) SetPlayerInterior(playerid, 0); SetPlayerPos(playerid,1568.6550,-1690.3239,5.8906); return 1; }
error 001: expected token: \")\", but found \"-identifier-\"
if(!IsPlayerInRangeOfPoint(playerid,3,246.3014,87.3710,1003.6406))