Need Help on my command /leavedm
#1

Hey yeah i create /leavedm
Heres i want when i type /leavedm i will leave the deathmatch area
On Next Type /leavedm i need to have a message return saying "You already Leave The DM"

Heres The Code

pawn Код:
if(strcmp("/leavedm", cmdtext, true, 10) == 0)
 {
    SetPVarInt(playerid, "InDm", 0);
    SetPlayerPos(playerid,-687.8727,938.8134,13.6328);
    SetPlayerFacingAngle(playerid, 13.6328);
    SendClientMessage(playerid, COLOR_RED, "You left The Deathmatch Area");
    return 1;
 }
Hope you help me
Reply


Messages In This Thread
Need Help on my command /leavedm - by lyrics - 13.08.2011, 13:07
Re: Need Help on my command /leavedm - by PhoenixB - 13.08.2011, 13:10
Re: Need Help on my command /leavedm - by lyrics - 13.08.2011, 13:12
Re: Need Help on my command /leavedm - by Meinstad - 13.08.2011, 13:20
Re: Need Help on my command /leavedm - by lyrics - 13.08.2011, 13:23
Re: Need Help on my command /leavedm - by Wesley221 - 13.08.2011, 13:34
Re: Need Help on my command /leavedm - by lyrics - 14.08.2011, 02:05

Forum Jump:


Users browsing this thread: 1 Guest(s)