31.12.2014, 12:51
Quote:
Seems like it will, but you need a way to execute it.
Currently it seems that it will only create a object if you shoot the specific object, that hasn't been created yet. Tested it too, and couldn't see anything being created. |
PHP код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_ID_TRAINING)
{
if(!response) return 0;
TrainingObj[playerid] = CreatePlayerObject(playerid, 902, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 200.0); /////////////
}
return 1;
}