new kapupd; kapupd = CreateDynamicObject(969 ,-506.5363, 2597.2871, 52.4972);///zárt állapot if(strcmp(cmdtext, \"/pdnyit\", true) == 0) { MoveDynamicObject(kapupd,-506.3364, 2606.2087, 52.4972,0.5);///nyitott return 1; } if(strcmp(cmdtext, \"/pdzar\", true) == 0) { MoveDynamicObject(kapupd,-506.3364, 2606.2087, 52.4972,0.5);//nyitott return 1;}
#include <a_samp>#include <streamer>new kapupd;public OnGameModeInit(){kapupd = CreateDynamicObject(969 , -506.5363, 2597.2871, 52.4972);///zárt állapotreturn 1;}public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/pdnyit\", true) == 0){MoveDynamicObject(kapupd, -506.3364, 2606.2087, 52.4972,0.5);///nyitottreturn 1;}if(strcmp(cmdtext, \"/pdzar\", true) == 0){MoveDynamicObject(kapupd, -506.5363, 2597.2871, 52.4972);///zárt állapotreturn 1;}return 0;}
#include <a_samp>#include <streamer>new kapupd;public OnGameModeInit(){kapupd = CreateDynamicObject(969 , -506.5363, 2597.2871, 52.4972,0.0000,0.0000,0.0000);///zárt állapotreturn 1;}public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/pdnyit\", true) == 0){MoveDynamicObject(kapupd, -506.3364, 2606.2087, 52.4972,2);///nyitottreturn 1;}if(strcmp(cmdtext, \"/pdzar\", true) == 0){MoveDynamicObject(kapupd, -506.5363, 2597.2871, 52.4972,2);///zárt állapotreturn 1;}return 0;}