need help with command
#1

i made now one teleport and i want to make a command like /teles and then you get: /da-Desert Airstrip Terror

i got this:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	if (strcmp("/da", cmdtext, true, 10) == 0)
	{
		SetPlayerPos(playerid, 2075.3584,1312.7797,10.6719);
		SetPlayerInterior(playerid, 0);
		return 1;
	}
	return 0;
}
{
	if (strcmp("/teles", cmdtext, true, 10) ==0)
	{
		SendClientMassage(playerid,"/da-Desert Airstrip terror");




when i do compile i get 2 errors:

C:\Users\Onno\Documents\da\gamemodes\saa.pwn(99) : error 055: start of function body without function header
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(100) : error 010: invalid function or declaration





_________________________________________________a nyone knows what to do??
Reply


Messages In This Thread
need help with command - by PANNA - 14.10.2009, 18:53
Re: need help with command - by PANNA - 14.10.2009, 19:18
Re: need help with command - by [XST]O_x - 14.10.2009, 19:23
Re: need help with command - by PANNA - 14.10.2009, 19:52
Re: need help with command - by Correlli - 14.10.2009, 19:53
Re: need help with command - by Ritchie999 - 14.10.2009, 19:55
Re: need help with command - by Correlli - 14.10.2009, 19:59
Re: need help with command - by Ritchie999 - 14.10.2009, 20:29
Re: need help with command - by PANNA - 15.10.2009, 06:27

Forum Jump:


Users browsing this thread: 1 Guest(s)