#include <a_samp>
new taxigate;
new elnokhely;
public OnGameModeInit()
{
taxigate = CreateObject(980, -505.67203, 2593.81738, 55.04990, 0.00000, 0.00000, 88.53313);
elnokhely = CreateObject(980, 283.53229, 1821.12366, 18.25813, 0.00000, 0.00000, 90.62099);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, \"/masd\", true) == 0)
{
MoveObject(taxigate, -505.67203, 2593.81738, 55.04990, 2.0);
return 1;
}
if(strcmp(cmdtext, \"/nasd\", true) == 0)
{
MoveObject(taxigate, -506.24530, 2602.87158, 55.04990, 2.0);
return 1;
}
if(strcmp(cmdtext, \"/baj\", true) == 0)
{
MoveObject(elnokhely, 283.53229, 1821.12366, 18.25813, 0.00000, 0.00000, 90.62099, 2.0);
return 1;
}
if(strcmp(cmdtext, \"/bajq\", true) == 0)
{
MoveObject(elnokhely, 213.84000, 1875.98657, 9.31640, 0.00000, 0.00000, 0.22046, 2.0);
return 1;
}