ZCMD help!
#1

Okei, I have a question.

Why hasn't these characters allowed: цдьх

Example:

CMD:kдkдkцц

It's compiling errors.
Reply
#2

Maybe because its unknown character? or unsupported character
Reply
#3

is it somehow to do that it's supports it?
Reply
#4

but it works for me.. can you post the script line?
Reply
#5

Here's the half of the code!
pawn Код:
CMD:vдrav(playerid, params[]) {
    if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1) {
        if(IsPlayerInRangeOfPoint(playerid, 15.0, 1544.6, -1630.8, 13.0)) switch(LSPDGates[0][1]) {
            case 0: {
                SetDynamicObjectRot(LSPDGates[0][0],0.0, 0, 90.0);
                LSPDGates[0][1] = 1;
            }
            case 1: {
                SetDynamicObjectRot(LSPDGates[0][0],0.0, 90.0, 90.0);
                LSPDGates[0][1] = 0;
            }
        }
And here's the compiling error.
pawn Код:
I:\Users\Martin\Desktop\San Andreas\03d Server\Windows-Server\Windows-Server\gamemodes\vx-rp.pwn(8344) : error 001: expected token: "(", but found "д"
I:\Users\Martin\Desktop\San Andreas\03d Server\Windows-Server\Windows-Server\gamemodes\vx-rp.pwn(8344) : error 001: expected token: ";", but found "-identifier-"
I:\Users\Martin\Desktop\San Andreas\03d Server\Windows-Server\Windows-Server\gamemodes\vx-rp.pwn(8344) : error 001: expected token: ";", but found "д"
I:\Users\Martin\Desktop\San Andreas\03d Server\Windows-Server\Windows-Server\gamemodes\vx-rp.pwn(8344) : fatal error 107: too many error messages on one line
The 8344 line is
pawn Код:
CMD:vдrav(playerid, params[]) {
Reply
#6

Okay. Take your time
Reply
#7

posted!
Reply
#8

I'm afraid you must make it as a filterscript
Reply
#9

try making it Filterscript...

pawn Код:
#include <a_samp>

#include <zcmd>

#if defined FILTERSCRIPT

CMD:vдrav(playerid, params[]) {
    if(groupVariables[playerVariables[playerid][pGroup]][gGroupType] == 1) {
        if(IsPlayerInRangeOfPoint(playerid, 15.0, 1544.6, -1630.8, 13.0)) switch(LSPDGates[0][1]) {
            case 0: {
                SetDynamicObjectRot(LSPDGates[0][0],0.0, 0, 90.0);
                LSPDGates[0][1] = 1;
            }
            case 1: {
                SetDynamicObjectRot(LSPDGates[0][0],0.0, 90.0, 90.0);
                LSPDGates[0][1] = 0;
                return 1;
            }
        }
       
#endif
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)