29.09.2016, 22:39
hey guys i have a message but is not showing it after i die in a format , but in a sendclientmessage it work's
i get the message
but this message i don't get it
Код HTML:
public OnPlayerDeath(playerid, killerid, reason) { if(VehTruckID[playerid] != -1) { vDBID[ VehTruckID[playerid] ] = 0; DestroyVehicle(VehTruckID[playerid]); VehTruckID[playerid] = -1; Truckers--; DisableRemoteVehicleCollisions(playerid, 0); InJob[playerid] = 0; JobCollect[playerid] = 0; PlayerTextDrawHide(playerid, HelpTextdraw[playerid]); format(gString, sizeof(gString), "(!) Ai fost omorit de {FFFFFF}%s {A9C4E4}in timp ce lucrai, poti sa faci o poza apasand tasta {FFFFFF}F8 {A9C4E4}si fa o reclamatie pe {FFFFFF}/panel", GetName(killerid)); SendClientMessage(playerid, COLOR_SYN2,gString); CP[playerid] = 0; DisablePlayerCheckpoint(playerid); PlayerTextDrawHide(playerid, ExamTextdraw[playerid]); SendClientMessage(playerid, COLOR_SYN2, "Hey man"); } }
Код HTML:
SendClientMessage(playerid, COLOR_SYN2, "Hey man");
Код HTML:
format(gString, sizeof(gString), "(!) Ai fost omorit de {FFFFFF}%s {A9C4E4}in timp ce lucrai, poti sa faci o poza apasand tasta {FFFFFF}F8 {A9C4E4}si fa o reclamatie pe {FFFFFF}/panel", GetName(killerid)); SendClientMessage(playerid, COLOR_SYN2,gString);