ZCMD thingy
#1

Ah, I have a simple problem, but I don't know how to script with ZCMD.

How to change this to ZCMD?
pawn Код:
if (strcmp("/ls", cmdtext, true, 10) == 0)
    {
        if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
        {
            new iVeh = GetPlayerVehicleID(playerid);
            SetVehiclePos(iVeh,2508.7432,-1673.0253,13.3804);
            SetVehicleZAngle(iVeh, 0);
        }
        else
        {
        SetPlayerPos(playerid,2526.9399,-1667.6604,15.1689);
        }
        SendClientMessage(playerid, 0x00FF00, "Welcome to Los Santos.");
        new name[MAX_PLAYER_NAME+1], string[128];
        GetPlayerName(playerid, name, sizeof(name));
        format (string, sizeof(string), "[TP]: %s has teleported to /ls.", name);
        SendClientMessageToAll(0x0000BBAA, string);
        return 1;
    }
Reply


Messages In This Thread
ZCMD thingy - by LeeXian99 - 24.03.2013, 03:32
Re: ZCMD thingy - by LarzI - 24.03.2013, 03:38
Re: ZCMD thingy - by vitorvlv - 24.03.2013, 03:55
Re: ZCMD thingy - by LeeXian99 - 24.03.2013, 04:28

Forum Jump:


Users browsing this thread: 1 Guest(s)