Server 99% ready, serious bug!
#1

1. ID 0 cant see ANYONE, everyone is invisible to him. He can see only other players text.
2. If you arent Cop or any Family member, and try to go in Cop/Faction car, you get ejected and get message "You are not Cop/Family member!"
3. What is wrong with this command i made? When im cop and make /lspd it says "You are not cop!"

<Script removed (Solved)>

4. When i /quitjob my contract time grows every time minute, if i make/quitjob again.. it will never drop.. I tryed to see maybe its timer mistake, but no luck...
Reply
#2

pawn Код:
if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1)
Should be

pawn Код:
if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1)
Reply
#3

Quote:
Originally Posted by Gappy
pawn Код:
if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1)
Should be

pawn Код:
if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1)
Still not working...

I forgot another problem also, when i make /quitjob it says you havent waited 5hours blaa blaa but the time is growing all the time i make /quitjob...
Reply
#4

Quote:
Originally Posted by KeyWay
Quote:
Originally Posted by Gappy
pawn Код:
if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1)
Should be

pawn Код:
if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1)
Still not working...

I forgot another problem also, when i make /quitjob it says you havent waited 5hours blaa blaa but the time is growing all the time i make /quitjob...
Sorry, it should be this

pawn Код:
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
Reply
#5

Quote:
Originally Posted by Gappy
Quote:
Originally Posted by KeyWay
Quote:
Originally Posted by Gappy
pawn Код:
if (PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1)
Should be

pawn Код:
if (PlayerInfo[playerid][pMember] == 1 && PlayerInfo[playerid][pLeader] == 1)
Still not working...

I forgot another problem also, when i make /quitjob it says you havent waited 5hours blaa blaa but the time is growing all the time i make /quitjob...
Sorry, it should be this

pawn Код:
if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)
Yeaah, really big thanks to you !
One less problem
Reply
#6

Why do you put IsPlayerConnected in your command. It is a very useless check. The player cannot type a command if he is not connected.
Reply
#7

I dont know actually, ive seen that in many other commands so i used it in this too, i take other commands example and learn from them. But ill keep that in mind Most important that it works now.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)