#1

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/da", cmdtext, true) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "Desert Airstip");
    SetPlayerPos(playerid, 430.7528, 2504.6919, 16.4844);
    SetPlayerInterior(playerid, 0);
	return 1;
	}
  if(strcmp("/teles", cmdtext, true) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "/da - /lvair");
	return 1;
	}
	if(strcmp("/lvair", cmdtext, true) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "Las Venturas Airport");
    SetPlayerPos(playerid, 1319.0171, 1251.5916, 10.8203);
    SetPlayerInterior(playerid, 0);
	return 1;
	}
  return 0;
  }
130	if(strcmp("/help", cmdtext, true 5) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "Ultimate-Killing is a server with 3 teams/gans, Los Santos, San Fierro and Las Venturas.format teleports type /teles, for the rules type /rules.");
133	return 1;
	}
thats the code,

and here are the errors,

C:\Users\Onno\Documents\da\gamemodes\saa.pwn(130) : error 010: invalid function or declaration
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(133) : error 010: invalid function or declaration
Reply


Messages In This Thread
omg? - by PANNA - 16.10.2009, 22:52
Re: omg? - by Peter_Corneile - 16.10.2009, 22:58

Forum Jump:


Users browsing this thread: 1 Guest(s)