Deiviux's Questions
#5

Maybe:
pawn Код:
public DriftCancellation(playerid){
    PlayerDriftCancellation[playerid] = 0;
    GameTextForPlayer(playerid, Split("~w~Driftas baigesi!~n~~g~Uzdirbai ", tostr(DriftPointsNow[playerid]), "$"), 2000, 3);
    new DriftCanc[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(DriftCanc,128,"%s collected %s drift points",pName,tostr(DriftPointsNow[playerid]));
    SendClientMessageToAll(0x80FF80FF,DiftCanc);
        GivePlayerMoney(playerid, DriftPointsNow[playerid]);
    DriftPointsNow[playerid] = 0;
}
Try it.. i dont know if it works..
Reply


Messages In This Thread
Deiviux's Questions - by Poweer - 13.06.2009, 16:00
Re: Deiviux's Questions - by miokie - 13.06.2009, 16:22
New Question - by Poweer - 13.06.2009, 16:50
Re: Deiviux's Questions - by miokie - 13.06.2009, 16:56
Re: Deiviux's Questions - by Dreftas - 13.06.2009, 18:29
Re: Deiviux's Questions - by Poweer - 15.06.2009, 12:38

Forum Jump:


Users browsing this thread: 1 Guest(s)