28.08.2012, 19:54
BeFore all i Just wanna say sry for my bad english ok?
*Guys This is Something Simple but Anoying that is what happens, See i was making ma Gm and i begin make Commands Maps Scripts all But NExt of a moth Of Srcripting Whe i Try to make a command On Ma Gamemode //-Example -//
if(strcmp(cmd, "/Examplee!", true) == 0) {
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
return 1;
}
ORRR
if(strcmp(cmd, "/Example", true) == 0) {
SetPlayerPos(playerid, 00000.00000,000000.000000,0000000.00000",0);
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
return 1;
}
I just Get The Error Unknow Command I donk know what Happens The Gamemode is working And i dont Have Errors Just 47 Warnings -.-Ё If the Problem Is Th warnings Help me plz :$
-*Another Problem I got Is Making A lift Just See
Up side All i tipe new Lift Next i Get The 2 Cords The cord Of the lift down and the cord of the lift Up
I put The Object Example
OnGameModeInit lift = 000000 0000000 .0 00 0000000 DONE Next i mke the commands Just Simple Move Object And When i Go to the game and Use the command Example /liftup I Get Unknow Commands Again :$
I RLY NEED HELP I WILL GIVE REP FOR ALL THE HELPERS AND SRY FOR MA BAD ENGLISH AGAIN :$
*Guys This is Something Simple but Anoying that is what happens, See i was making ma Gm and i begin make Commands Maps Scripts all But NExt of a moth Of Srcripting Whe i Try to make a command On Ma Gamemode //-Example -//
if(strcmp(cmd, "/Examplee!", true) == 0) {
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
return 1;
}
ORRR
if(strcmp(cmd, "/Example", true) == 0) {
SetPlayerPos(playerid, 00000.00000,000000.000000,0000000.00000",0);
SendClientMessage(playerid, COLOR_GREY,"THIS IS EXAMPLE",0);
return 1;
}
I just Get The Error Unknow Command I donk know what Happens The Gamemode is working And i dont Have Errors Just 47 Warnings -.-Ё If the Problem Is Th warnings Help me plz :$
-*Another Problem I got Is Making A lift Just See
Up side All i tipe new Lift Next i Get The 2 Cords The cord Of the lift down and the cord of the lift Up
I put The Object Example
OnGameModeInit lift = 000000 0000000 .0 00 0000000 DONE Next i mke the commands Just Simple Move Object And When i Go to the game and Use the command Example /liftup I Get Unknow Commands Again :$
I RLY NEED HELP I WILL GIVE REP FOR ALL THE HELPERS AND SRY FOR MA BAD ENGLISH AGAIN :$



its the length of the command...it sless than 10 chars most of the time and it will make your work faster if you type10...but you can put the number of your command's char too... as what cookie monster said...