28.10.2018, 00:48
PHP код:
CMD:abcd(playerid)
{
if(pInfo[playerid][yes] == 1)
{
CreatePlayerTD(playerid);
foreach(Player,i)
{
PlayerTextDrawShow(playerid, DebugInfo[i]);
}
PlayerTextDrawShow(playerid, DebugBox[playerid]);
PlayerTextDrawShow(playerid, DebugText[playerid]);
pInfo[playerid][yes] = 0;
}
else{
HidePlayerTD(playerid);
pInfo[playerid][yes] = 1;
}
return 1;
}
PHP код:
PlayerTextDrawSetString(i,DebugInfo[i],strupdate);
PlayerTextDrawSetString(i,Debug_GunInfo[i],strwep);