ja sorry leute ich bins nochmal ich brauch das noch bei den command hier
if(strcmp(cmd,"/fun",true) == 0)
{
new pname[24],stext[128];
GetPlayerName(playerid,pname,sizeof(pname));
SetPlayerPos(playerid,79.92, 2445.57, 83.96);
if(IsPlayerInAnyVehicle(playerid))
{
new vehid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehid,79.92, 2445.57, 83.96);
PutPlayerInVehicle(playerid,vehid, 0);
}
format(stext,sizeof(stext),"%s hat sich nach /fun teleportiert",pname);
SendClientMessageToAll(0x9ACD32AA,stext);
return 1;
}
if(strcmp(cmd,"/funexit",true) == 0)
{
new pname[24],stext[128];
GetPlayerName(playerid,pname,sizeof(pname));
SetPlayerPos(playerid,1212.9077,-884.9197,42.9153);
if(IsPlayerInAnyVehicle(playerid))
{
new vehid = GetPlayerVehicleID(playerid);
SetVehiclePos(vehid,1212.9077,-884.9197,42.9153);
PutPlayerInVehicle(playerid,vehid, 0);
}
format(stext,sizeof(stext),"%s hat mit /funexit fun verlassen",pname);
SendClientMessageToAll(0x9ACD32AA,stext);
return 1;
}
sorry fürs gleiche posten den noch dan passt es wunderbar