[Ajuda][Ajuda] public OnDialogResponse
#3

Quote:
Originally Posted by [Red]Maninho
Посмотреть сообщение
PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
TogglePlayerControllable(playerid1);
new 
string[128];
new 
playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
if(
dialogid == DIALOG_MEAVALIE)    
{        
if(
response == 1)        
{            
SendClientMessage(meavalie[playerid],COLOR_GRAD2,"O Jogador qualificou a sua ajuda como {9EC73D}POSITIVA");            
PlayerInfo[meavalie[playerid]][pHelper] = PlayerInfo[meavalie[playerid]][pHelper]+1;            
format(stringsizeof(string), "Vocк classificou a ajuda do Helper %s como {9EC73D}positiva!",giveplayer);            
SendClientMessage(playerid,COLOR_HELPER,string);        
}        
if(
response == 0)        
{            
SendClientMessage(meavalie[playerid],COLOR_GRAD2,"O Jogador qualificou a sua ajuda como {FF0000}NEGATIVA");            
format(stringsizeof(string), "Vocк classificou a ajuda do Helper %s como {FF0000}negativa!",giveplayer);            
SendClientMessage(playerid,COLOR_HELPER,string);        
}        
return 
1;    

Espero Ter Ajudado
Fazendo Backup , aqui , pera ....

@ EDIT
deu 1 warning mas foda-se I love YOu +REP
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)