telepoort
#1

i still get stuck when i want to make a teleport,
i do everything but i still get always 1 or 3 errors

here you go
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if(strcmp("/da", cmdtext, true, 3) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "Desert Airstip");
    SetPlayerPos(playerid, 430.7528, 2504.6919, 16.4844);
    SetPlayerInterior(playerid, 0);
    return 1;
  }
  if(strcmp("/teles", cmdtext, true, 6) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "/da - /lvair");
    return 1;
  }
  return 0;
}
111	if(strcmp("/lvair", cmdtext, true, 6) == 0)
  {
    SendClientMessage(playerid, 0xFF6600AA, "Las Venturas Airport");
    SetPlayerPos(playerid, 1319.0171, 1251.5916, 10.8203);
    SetPlayerInterior(playerid, 0);
116    return 1;
  }
and now i still got 2 errors,



C:\Users\Onno\Documents\da\gamemodes\saa.pwn(111) : error 010: invalid function or declaration
C:\Users\Onno\Documents\da\gamemodes\saa.pwn(116) : error 010: invalid function or declaration


btw, sorry i ask alot but im new to this.
Reply


Messages In This Thread
telepoort - by PANNA - 16.10.2009, 15:55
Re: telepoort - by TheNooB - 16.10.2009, 15:57
Re: telepoort - by CarlosGF - 16.10.2009, 15:57
Re: telepoort - by [SFD]Marco - 16.10.2009, 15:58
Re: telepoort - by PANNA - 16.10.2009, 16:01
Re: telepoort - by TheNooB - 16.10.2009, 16:02
Re: telepoort - by MenaceX^ - 16.10.2009, 16:02
Re: telepoort - by Hiitch - 16.10.2009, 16:05
Re: telepoort - by PANNA - 16.10.2009, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)