#1

hey boys
Can some one help me to script a robbery system i tried much times but i cant do it
i want to make it like example to rob business need two boys to be in the same shop and with command /robbiz or something please help me
Reply
#2

http://pastebin.com/dQcG37ER

This should help you out, best of luck!
Reply
#3

but i dont need a bank robbery script xD ......any way thanks dud
Reply
#4

It's not a copy paste.. It's so you can see how it's done and then make what you want yourself
Reply
#5

=_+ i dont want to copy it lol i just want some one who can help me to do it by my self but with his help xd
Reply
#6

https://sampforum.blast.hk/showthread.php?tid=505857
Reply
#7

Thanks all
but it dont show a time when im in checkpoint and start the robbery can you help me to show it when some one start robbery ?HMM i need something like when he enter on CP and press robthis server will show him a count wich is from 30 to 0 can you do this ?
Reply
#8

Be more specific.

EDIT:

Add the 'else' to the tutorial above:

pawn Код:
CMD:robthis(playerid, params[])
{
    #pragma unused params // we dont need the params
    if(IsPlayerInDynamicCP(playerid, CP_tatoo)) // Checking if player is in the checkpoint
    {
        if(tatoorobbedrecently >=1) //checking if tatoo shop has been robbed recently
        {
            SendClientMessage(playerid, COLOR_RED, "Tatoo Shop has been robbed recently"); // sending error message
        }
        else
        {
            SendClientMessageToAll(COLOR_RED, "The tattoo shop is being robbed!");
        }
        ROBBING_TATOO[playerid] = 60; // setting the robbery timer
        tatoorobbedrecently =180; // Time the players needs to wait for starting an another robbery in the same place
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)