objects cmd
#1

i want to script a cmd that when player use it he will see an object infront of him and when he use another cmd this object will gone ..

PS: can i use 1 cmd to show more than 1 object ?
Reply
#2

pawn Код:
new bool:ObjectView[MAX_PLAYERS char];

//Inside your command
if(ObjectView{playerid} == false)
{
   //Show the object
   return 1;
}
else
{
    //Hide the object
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)