Commands dont work
#1

All the gamemodes I tried yet, the /setlevel (my id) (level) command didn't worked
it just told my Usage: /setlevel id level
ALL the Gamemodes!
Is it maybe because I need an extra plugin or something?
Help pls.
Reply
#2

Maybe you use the wrong cmd,give us the cmd
Reply
#3

Код HTML:
<cmd: /setlevel (playerid, setvip, (0)>
 new str[110];
switch(pLang[i])
 if (playerid, Color_White)
lientMessage(playerid, COLOR_PINK, "[AVISO]: Estбs en una juerga de 20 captura! +6XP");
 new MessageStr2[170];
			format(MessageStr2,sizeof MessageStr2,"[ITS]: Team %s has captured {B700FF}%s", TeamName(playerid), ZName(zoneidd));
			return SendClientMessage(i, COLOR_SPRINGGREEN, MessageStr2);
SetPlayerScore(i, GetPlayerScore(i)+1);
  GivePlayerWeapon, (playerid, 36, 5000)
return 1;
Reply
#4

Quote:
Originally Posted by Charalambos26
Посмотреть сообщение
Код HTML:
<cmd: /setlevel (playerid, setvip, (0)>
 new str[110];
switch(pLang[i])
 if (playerid, Color_White)
lientMessage(playerid, COLOR_PINK, "[AVISO]: Estбs en una juerga de 20 captura! +6XP");
 new MessageStr2[170];
			format(MessageStr2,sizeof MessageStr2,"[ITS]: Team %s has captured {B700FF}%s", TeamName(playerid), ZName(zoneidd));
			return SendClientMessage(i, COLOR_SPRINGGREEN, MessageStr2);
SetPlayerScore(i, GetPlayerScore(i)+1);
  GivePlayerWeapon, (playerid, 36, 5000)
return 1;
i ddnt know ur cmd,
Reply
#5

Quote:
Originally Posted by Charalambos26
Посмотреть сообщение
Код HTML:
<cmd: /setlevel (playerid, setvip, (0)>
 new str[110];
switch(pLang[i])
 if (playerid, Color_White)
lientMessage(playerid, COLOR_PINK, "[AVISO]: Estбs en una juerga de 20 captura! +6XP");
 new MessageStr2[170];
			format(MessageStr2,sizeof MessageStr2,"[ITS]: Team %s has captured {B700FF}%s", TeamName(playerid), ZName(zoneidd));
			return SendClientMessage(i, COLOR_SPRINGGREEN, MessageStr2);
SetPlayerScore(i, GetPlayerScore(i)+1);
  GivePlayerWeapon, (playerid, 36, 5000)
return 1;
What kind of command is that? lol
Reply
#6

Quote:
Originally Posted by Charalambos26
Посмотреть сообщение
Код HTML:
<cmd: /setlevel (playerid, setvip, (0)>
 new str[110];
switch(pLang[i])
 if (playerid, Color_White)
lientMessage(playerid, COLOR_PINK, "[AVISO]: Estбs en una juerga de 20 captura! +6XP");
 new MessageStr2[170];
			format(MessageStr2,sizeof MessageStr2,"[ITS]: Team %s has captured {B700FF}%s", TeamName(playerid), ZName(zoneidd));
			return SendClientMessage(i, COLOR_SPRINGGREEN, MessageStr2);
SetPlayerScore(i, GetPlayerScore(i)+1);
  GivePlayerWeapon, (playerid, 36, 5000)
return 1;
Is that even a command?!

Use CMD: setlevel(playerid,params)
Reply
#7

Do you have compiled your script ?
Reply
#8

Yes I have successfully compiled it, still the save problem :/
All my cmds are that way.
Reply
#9

In all my years of scripting, I've never seen that type of command. What command processor do you use?
Reply
#10

Quote:
Originally Posted by Luis-
Посмотреть сообщение
In all my years of scripting, I've never seen that type of command. What command processor do you use?
idk, but I never used other commands,
they worked well, but idk why they are bugging now.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)