13.06.2009, 18:29
Maybe:
Try it.. i dont know if it works..
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;
}