Jump to content
  • 0

[GF/RP] cand mori sa te dea la spital


Question

13 answers to this question

Recommended Posts

Posted

Iti arat un ex. dupa un gm gasit la mine in PC:

[pawn] if(MedicBill[playerid] == 1 && PlayerInfo[playerid][pJailed] == 0 && PlayerPaintballing[playerid] == 0)

{

/*new string[256];

    new cut = deathcost; //PlayerInfo[playerid][pLevel]*deathcost;

//GivePlayerCash(playerid, -cut);

GivePlayerCash(playerid, -cut);

format(string, sizeof(string), "DOC: Your Medical Bill comes to $%d, Have a nice day.", cut);

SendClientMessage(playerid, TEAM_CYAN_COLOR, string);

MedicBill[playerid] = 0;

MedicTime[playerid] = 0;

NeedMedicTime[playerid] = 0;*/

PlayerInfo[playerid][pDeaths] += 1;

SetPlayerHealth(playerid, 25.0);

    SetPlayerInterior(playerid, 5);

        rand = random(sizeof(gMedicSpawns));

SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player

SetPlayerFacingAngle(playerid, 270.0);

        TogglePlayerControllable(playerid, 0);

        GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~y~You are recovering from your ~r~wounds~y~...", 35000, 3);

        MedicTime[playerid] = 1;

        if(PlayerInfo[playerid][pDonateRank] > 0)

        {

            NeedMedicTime[playerid] = 30;

        }

        else

        {

        NeedMedicTime[playerid] = 60;

}

        PlayerPlaySound(playerid, 1062, 0.0, 0.0, 0.0);

    return 1;

}[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

si de unde setez locul in care sa te dea?

[pawn]SetPlayerPos(playerid, gMedicSpawns[rand][0], gMedicSpawns[rand][1], gMedicSpawns[rand][2]); // Warp the player[/pawn] Cauti new Float:gMedicSpawns...

Posted

F:\Gaby\xxvc\SAMPPP\PT STICK\SAMP\Gm Potco\gamemodes\MQ.pwn(4859) : error 017: undefined symbol "rand"

F:\Gaby\xxvc\SAMPPP\PT STICK\SAMP\Gm Potco\gamemodes\MQ.pwn(4860) : error 017: undefined symbol "rand"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Errors.

primesc astea cand le pun

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.