how do make a area where u can dm?
#1

hey i have a drift server and i want to make a area for example i have a dm map, and when i tele to the map you automaticly get weapons and your aloud to dm,

oh and also when ur not in a dm area you dont have guns and your not aloud to dm..

so bassicly when you tele to the dm area you automaticly get weapons and to leave the area you have to do /leave and when u do that cmd u get disarmed? any help?
Reply
#2

I could help you.

On top:

pawn Код:
new IsInDM[Max_Players];
Then on the /dm teleport put this
pawn Код:
IsInDM = 1;
Then at other teleports add
pawn Код:
My teleport bla bla
{
    if(IsInDM == 1) return SendclientMessage(playerid, color, "You have to /leave first!");
    SetPlayerPos.....
}
then at leave commando add this:

pawn Код:
Leave command...
{
    IsInDM = 0;
    SetPlayerPos(.....)
}
PM me if you still need help, and btw i remember you from the server
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)