remove player to his vihilce
#3

hmm ok i have test it but it dont works again
the player get out of his car but he dont join in

this is the command

Код:
if(strcmp(cmdtext, "/sos", true) == 0)
{
if(derbygodupfuck[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "Du bist im Derby zum verlassen tippe /derbyex");
if(DMZone[playerid] == 1) return SendClientMessage(playerid, COLOR_RED, "Du bist im DM Modus zum verlassen tippe /dmex");
RemovePlayerFromVehicle(playerid);
SetTimerEx("PutOn", 1000, false, "dd", playerid, GetPlayerVehicleID(playerid));
new name[MAX_PLAYER_NAME];
new string[100];
new cartype=GetPlayerVehicleID(playerid);
GetPlayerName(playerid, name, sizeof(name));
SetPlayerInterior(playerid,0);
format(string, sizeof(string), ">>> %s Schreit nach Hilfe bei sos /sos <<<", name);
SendClientMessageToAll(0x0EA2DFF, string);
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SetVehiclePos(GetPlayerVehicleID(playerid), 215.991562, -1473.438721, 4531.075195);
SetVehicleZAngle(cartype,271.6777);
}
else
{
SetPlayerPos(playerid, 215.991562, -1473.438721, 4531.075195);
}
return 1;
}
EDIT:

ok it works
the timer was only a little bit to fast so there was any reaction because i was over the timer
i made it a littble bit slower from 1000 to 2500
thx doerfler
Reply


Messages In This Thread
remove player to his vihilce - by a-day - 21.11.2009, 22:19
Re: remove player to his vihilce - by d0 - 21.11.2009, 22:34
Re: remove player to his vihilce - by a-day - 21.11.2009, 22:46

Forum Jump:


Users browsing this thread: 1 Guest(s)