speedfigth kannse mir das per TeamViwer helfen bitte ich hab das so gemacht guckt
===========================================================================
new rmpark;
new rmparkvar;
rmpark = CreateObject(975, -604.82623291016, -472.80575561523, 26.192533493042, 0.0000, 0.0000, 0.0000);
if(strcmp(cmd,"/rmpark",true) == 0)
{
if(PlayerInfo[playerid][pMember] == 23 PlayerInfo[playerid][pLeader] == 23)
{
if(rmparkvar == 0)
{
MoveObject(rmpark,-604.82623291016, -472.80575561523, 26.192533493042,4.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Das RM Park tor ist nun Auf!");
rmparkvar = 1;
}
else
{
MoveObject(rmpark,-604.82623291016, -472-80575561523, 22.692533493042,4.0);
PlaySoundForPlayer(playerid,1035);
SetTimerEx("PlaySoundForPlayer",2000,0,"id",playerid,1036);
SendClientMessage(playerid, COLOR_LIGHTBLUE,"Das RM Park tor ist nun Zu!");
rmparkvar = 0;
}
}
else SendClientMessage(playerid,COLOR_LIGHTGREEN," Du bist kein Member der RM");
return 1;
}