Jump to content
  • 0

Imi i-a banii inapoi


Question

Posted

Problema intalnita (descriere):Deci vreau sa fac ceva joburi unice..Si am facut comanda /work1.. daca ajung in checkpoint,imi da banii dar imediat mi i-a inapoi..Ce am facut gresit?
Ero(area / rile) / warning-(ul / urile): - 
Liniile de cod / sursa / script-ul(obligatoriu): -
Imagini / Video (optional):

Citat

CMD:work1(playerid, params[])
{
SetPlayerCheckpoint(playerid, 2795.3052,-2538.5703,13.6293, 15.0);
SendClientMessage(playerid, COLOR_WHITE, "* Pe mapa ai un checkpoint,Du-te la el pentru a primi banii.");
CP[playerid] = 2;
return 1;
}

    if(CP[playerid] == 2)
    {
    DisablePlayerCheckpoint(playerid);
    CP[playerid] = 2;
    GivePlayerMoney(playerid, 5000);
    }


Ati incercat sa rezolvati singur?:  -

4 answers to this question

Recommended Posts

  • 0
Posted

foloseste in loc de GivePlayerMoney , scrie GivePlayerCash , daca comanda este in GM si nu FS ca sa trebuiasca sa adaugi functia GivePlayerCash

  • 0
Posted

incearca  

GivePlayerMoneyEx

FiveGame  Lands

Pawno Developer, Mapping , Scripter

Since 2016

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.