My questions here. (please have a look here, this will be updated frequently)
#21

Ahh.. no they aren't the same.

for that one it would be:

pawn Code:
#include <ladmin>
pawn Code:
if(IsPlayerLuxAdm(playerid))

Reply
#22

I am using Lethal Admin now, way better and it isn't a complete copy of another admin script like Lux Admin is...


Thanks for your help, if I need more help I'll post here again
Reply
#23

EDIT:
Correct code!
Code:
public OnPlayerText(playerid, text[])
{
  new string[256];
  new playername[MAX_PLAYER_NAME];
  if(text[0] == '!' && text[1] != 0)
  {
    GetPlayerName( playerid, playername, MAX_PLAYER_NAME );
    format( string, 128, "[Team] %s: %s", playername, text[1] );
    for(new i = 0; i < MAX_PLAYERS; i++ )
    {
      if( IsPlayerConnected(i) && gTeam[playerid] == gTeam[i] )
        SendClientMessage( i, COLOR_TEAMCHAT, string );
    }
    return 0;
  }

  return 1;
}
This is working!

Reply
#24

Code:
mijnscript.pwn(309) : error 017: undefined symbol "cmd"
mijnscript.pwn(313) : error 017: undefined symbol "sendername"
mijnscript.pwn(313) : error 017: undefined symbol "sendername"
mijnscript.pwn(313) : error 029: invalid expression, assumed zero
mijnscript.pwn(313) : fatal error 107: too many error messages on one line
On line 309 change the cmd's to cmdtext.

Above GetPlayerName add:
pawn Code:
new sendername[24];
Else, that other one should work just fine.
Reply
#25

Alright so basicly when my friend tries to hit me on the map I've created I can't loose health, is this due gravity?


His video :
http://www.xfire.com/video/1f77cf/

My video :
http://www.xfire.com/video/1f77db/


Is this due to gravity or something? Help is really appreciated.

Quote:
Originally Posted by llama
Code:
mijnscript.pwn(309) : error 017: undefined symbol "cmd"
mijnscript.pwn(313) : error 017: undefined symbol "sendername"
mijnscript.pwn(313) : error 017: undefined symbol "sendername"
mijnscript.pwn(313) : error 029: invalid expression, assumed zero
mijnscript.pwn(313) : fatal error 107: too many error messages on one line
On line 309 change the cmd's to cmdtext.

Above GetPlayerName add:
pawn Code:
new sendername[24];
Else, that other one should work just fine.
I changed the post, read it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)