/kill cmd
#1

Hellos guys today i'm trying to start a gm from 0 but with zcmd, someone can give me a help how can i change this cmd to zcmd:

PHP код:
if (strcmp("/kill"cmdtexttrue10) == 0)
    {
        if (
IsPlayerConnected(playerid))
        {
        
SendClientMessage(playerid0xFF8282AA"You lost $1,000 to pay for your antidepressants.");
        
SendClientMessage(playerid0xFF8282AA"Before you are discharged, Hospital staff will confiscate your weapons.");
        
GivePlayerMoney(playerid, -1000);
        
SetPlayerHealth(playerid,0);
        }
        return 
1;
    } 
I dont know if i have to keep coding with this type of cmd o start to use zcmd.
Reply


Messages In This Thread
/kill cmd - by Jaua10 - 29.05.2018, 03:36
Re: /kill cmd - by Sew_Sumi - 29.05.2018, 03:40
Re: /kill cmd - by UFF - 29.05.2018, 03:46
Re: /kill cmd - by Sew_Sumi - 29.05.2018, 06:26
Re: /kill cmd - by DALii - 29.05.2018, 10:33
Re: /kill cmd - by Sew_Sumi - 29.05.2018, 10:49

Forum Jump:


Users browsing this thread: 3 Guest(s)