Problem[Help]
#1

how can i take these 3 off the screen??

Picture:
Reply
#2

can i erase them?
Reply
#3

As ****** said.. or if you want to remove them from class selection just use TogglePlayerSpectating.
Reply
#4

i put this at OnPlayerRequestClass and doesent work good. ""TogglePlayerSpectating(playerid,true);""
Reply
#5

try
pawn Код:
TogglePlayerSpectating(playerid, 1);//1 instead..
Reply
#6

i did..same..
Reply
#7

example:im in a police car and i do /fuelcars it the fuel will remain 100 forever

PHP код:
if(strcmp(cmd"/fuelcars"true) == 0)
                    {
                        if(
IsPlayerConnected(playerid))
                        {
                            new 
TD_String[25];
                            if(
PlayerInfo[playerid][pAdmin] >= 4)
                            {
                                for(new 
veh=0;veh<MAX_VEHICLES;veh++)
                                {
                                    
VehicleFuel[veh] = 100;
                                    
format(TD_String25"%i"VehicleFuel[veh]);
                                }
                                
TextDrawSetString(Text:Values[playerid][3], TD_String);
                                
SendClientMessage(playeridCOLOR_RED"• Toate Masinile au fost umplute de combustibil! •");
                            }
                            else
                            {
                                
SendClientMessage(playeridCOLOR_GREY"   You are not an Admin ! ");
                                return 
1;
                            }
                        }
                        return 
1;
                    } 
Reply
#8

Quote:
Originally Posted by XtremeR
Посмотреть сообщение
try
pawn Код:
TogglePlayerSpectating(playerid, 1);//1 instead..
Do you know what the booleans values are? There's no difference between yours code and mine. THINK!

Topic:
Put the function in OnPlayerConnect.
Reply
#9

theres a problem ..i press tab and all players have level 0 ..but if they do /stats they can see their real level..why??
Reply
#10

SetPlayerScore has to get called when the player connects.
Search if it is, if it isn't you have to add it with the correct level value from your register system.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)