can someone help me
#1

Can someone help me with my bug when a cop ar me i go to jail and after i am in jail and i dont have any seconds
and when i am trying to get me out as admin it shows me that i aint in jail
1.2.pwn

please solve my problem

Thank You
Reply
#2

Help Please
Reply
#3

guys i need help please get in this thread
Reply
#4

Direct link wtf --', you can simply upload it at http://pastebin.com.
Reply
#5

Please help
http://pastebin.com/UKX2QGMQ
Reply
#6

Please get in this thread guys i need to fix that bug
Reply
#7

pawn Код:
// At the top of your code
enum jData{
    PlayerIsJailed,
}

new JailDATA[MAX_PLAYERS][jData];

// At the jail command

if(JailDATA[targetid][PlayerIsJailed] != true) // You must replace the targetid with the variable of your target
{
    JailDATA[targetid][PlayerIsJailed] = true;
    // Actions for target to go in jail
    // Put here the command to start the timer aswell
    return 1;
} else return 0;

// At the unjail command
if(JailDATA[targetid][PlayerIsJailed] == true) // You must replace the targetid with the variable of your target
{
    JailDATA[targetid][PlayerIsJailed] = false;
    // Actions for target to unjail him
    // Put here the command to start the timer aswell
    return 1;
} else return 0;
Also you might wanna download Y_Ini to save in the character file . Have a look here to learn how to do it
https://sampforum.blast.hk/showthread.php?tid=175565
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)