06.07.2015, 11:00
I want to create the object which object id is typed in INPUT BOX but i get an error
The code: (it gives the error for the highlighted line)
Can you tell me how to make it create the object which i enter in the Input box?
Код:
C:\Users\Mouiz\Desktop\FreeRoam\filterscripts\objectedit.pwn(32) : error 006: must be assigned to an array Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 1) { if(response) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid, x, y, z);CreateObject(object, x, y, z, 0.0, 0.0, 0.0);Код:object = inputtext;
}
}
return 1;
}