[HELP] Problema con i comandi
#1
Inviato il 19 febbraio 2010 - 16:15
L'altro ieri ho fatto un server di gta fin qua tutto bene.
Ma quando faccio dei comandi semplici come /mycommand o /heal non funzionano perchè?
Ma quando faccio dei comandi semplici come /mycommand o /heal non funzionano perchè?
Mondialwebs Server
IP: mondiawebs.no-ip.org
IP2:Rete hamachi mondialwebs pass 123 ip 5.90.0.43:7777
IP3: 78.15.183.99:7777
IP: mondiawebs.no-ip.org
IP2:Rete hamachi mondialwebs pass 123 ip 5.90.0.43:7777
IP3: 78.15.183.99:7777
#5
Inviato il 19 febbraio 2010 - 16:24
ok ecco tipo
if(strcmp(cmd, "/help", true) == 0) {
SendPlayerFormattedText(playerid,"Las Venturas Deathmatch: Money Grub Coded By Jax and the SA-MP Team.",0);
SendPlayerFormattedText(playerid,"Type: /objective : to find out what to do in this gamemode.",0);
SendPlayerFormattedText(playerid,"Type: /givecash [playerid] [money-amount] to send money to other players.",0);
SendPlayerFormattedText(playerid,"Type: /tips : to see some tips from the creator of the gamemode.", 0);
return 1;
}
if(strcmp(cmd, "/help", true) == 0) {
SendPlayerFormattedText(playerid,"Las Venturas Deathmatch: Money Grub Coded By Jax and the SA-MP Team.",0);
SendPlayerFormattedText(playerid,"Type: /objective : to find out what to do in this gamemode.",0);
SendPlayerFormattedText(playerid,"Type: /givecash [playerid] [money-amount] to send money to other players.",0);
SendPlayerFormattedText(playerid,"Type: /tips : to see some tips from the creator of the gamemode.", 0);
return 1;
}
Mondialwebs Server
IP: mondiawebs.no-ip.org
IP2:Rete hamachi mondialwebs pass 123 ip 5.90.0.43:7777
IP3: 78.15.183.99:7777
IP: mondiawebs.no-ip.org
IP2:Rete hamachi mondialwebs pass 123 ip 5.90.0.43:7777
IP3: 78.15.183.99:7777
#6
Inviato il 19 febbraio 2010 - 16:29
prova cosi
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLUE, "Las Venturas Deathmatch: Money Grub Coded By Jax and the SA-MP Team");
SendClientMessage(playerid, COLOR_BLUE, "Type: /objective : to find out what to do in this gamemode");
SendClientMessage(playerid, COLOR_BLUE, "Type: /givecash [playerid] [money-amount] to send money to other players");
SendClientMessage(playerid, COLOR_BLUE, "Type: /tips : to see some tips from the creator of the gamemode.");
return 1;
}
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_BLUE, "Las Venturas Deathmatch: Money Grub Coded By Jax and the SA-MP Team");
SendClientMessage(playerid, COLOR_BLUE, "Type: /objective : to find out what to do in this gamemode");
SendClientMessage(playerid, COLOR_BLUE, "Type: /givecash [playerid] [money-amount] to send money to other players");
SendClientMessage(playerid, COLOR_BLUE, "Type: /tips : to see some tips from the creator of the gamemode.");
return 1;
}
Ban diretto. La prossima volta pensaci due volte prima di inserire una firma del genere.
#12
Inviato il 19 febbraio 2010 - 16:40
Ban diretto. La prossima volta pensaci due volte prima di inserire una firma del genere.