Willst du es wirklich wissen?
Jaaa ?
Schau mal
new RepairSpieler[MAX_PLAYERS];
new RepairPreis[MAX_PLAYERS];
ocmd:repair(playerid,params[])
{
new giveplayerid,preis;
if(sscanf(params,"ui",giveplayerid,preis)) return SendClientMessage(playerid,FARBE,"/repair [Spieler] [Preis]");
RepairSpieler[giveplayerid] = playerid;
RepairPreis[giveplayerid] = preis;
ShowPlayerDialog .....
return 1;
}
if(dialogid == DIALOGNAME)
{
if(response)
{
//Deine Repairbefehle
GivePlayerMoney(playerid,-RepairPreis[playerid]);
GivePlayerMoney(RepairSpieler[playerid],RepairPreis[playerid]);
}
}