[AJUDA] /ajuda e /teleporte
#1

Olб galera! Este й meu primeiro post e gostaria de saber como criar um comando /ajuda e um /teleporte.

Eu jб olhei inъmeros tutoriais (Atй no SAMP Wiki) e nunca consigo. Pois quando digito o CMD, Fala q й um comando
invбlido... E Na hora de compilar nгo dб erro algum.

Meu Script:
Quote:

{
if(strcmp(cmdtext, "/ajuda", true) == 0)
{
SendClientMessage(playerid, 0xDABB3EAA,"(AJUDA)Teste.");
}
return 1;
}

E TAMBЙM JБ TENTEI

Quote:

{
if(!strcmp(cmdtext,"/ajuda",true))
{
SendClientMessage(playerid, 0xDABB3EAA,"(AJUDA)Teste.");
return 1;
}
return 0;
}

E Para fazer o de teleporte eu sу mudo o "SendClientMessage" para "SetPlayerPosition".

Gostaria de saber oquк hб de errado... Obrigado!
Reply


Messages In This Thread
[AJUDA] /ajuda e /teleporte - by Seriall - 04.02.2011, 19:19
Re: [AJUDA] /ajuda e /teleporte - by Macintosh - 04.02.2011, 19:21
Re: [AJUDA] /ajuda e /teleporte - by Baddark2131 - 04.02.2011, 19:23
Re: [AJUDA] /ajuda e /teleporte - by Seriall - 04.02.2011, 19:24
Re: [AJUDA] /ajuda e /teleporte - by Macintosh - 04.02.2011, 19:27
Re: [AJUDA] /ajuda e /teleporte - by zSuYaNw - 04.02.2011, 20:21

Forum Jump:


Users browsing this thread: 2 Guest(s)