06.01.2016, 08:00
PHP код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/uhvatimeakomozes", true))
{
TextDrawShowForPlayer(playerid, podloga0);
TextDrawShowForPlayer(playerid, podloga1);
TextDrawShowForPlayer(playerid, podloga2);
TextDrawShowForPlayer(playerid, podloga3);
TextDrawShowForPlayer(playerid, podloga4);
TextDrawShowForPlayer(playerid, podloga5);
TextDrawShowForPlayer(playerid, podloga6);
TextDrawShowForPlayer(playerid, podloga7);
TextDrawShowForPlayer(playerid, podloga8);
TextDrawSetSelectable(podloga0, 1); // repeat for the ones u want selectable
return 1;
}
return 0;
}