06.06.2013, 19:14
Okay well I'm using incognitos object streamer, What would i use to do that and another question for you, How would I set a players job using what you showed me.
refer to the code to see what i mean.
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_TAXI)
{
if(response)
{
for(new i; i < MAX_PLAYERS; i++)
if(pJob[i] == JOB_NONE)
{
//What would go here?
SendClientMessage(playerid, COLOR_LIGHTRED, "JOB INFO: {FFFFFF}You have accepted the job, please get in a Taxi.");
}
else if(!response)
{
SendClientMessage(playerid, COLOR_LIGHTRED, "JOB INFO: {FFFFFF}You have rejected the job");
}
}
return 1;
}
return 0;
}