Tuortial !
#1

I have tryed to make tuorital when somebody for first time conncet on server . And I have tryed to make something but i have one error :

Код:
forward mypublicfunction(playerid);
public function(playerid)
{
SendClientMessage(playerid, 0xFFFF00AA, "You are first time connceted ON THIS SERVER "  )
return 1;
}
Reply
#2

It generally helps if you tell us what your error is, but from the code you've given us, you're missing a ';', at the end of Sendclientmessage

Also your forward has to have the same name as your callback
pawn Код:
forward mypublicfunction(playerid);
public mypublicfunction(playerid)
{
}
Reply
#3

Код:
C:\DOCUME~1\Emrah\Desktop\BONECO~1\GAMEMO~1\RPB.pwn(488) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
This si error .
Reply
#4

PHP код:
forward mypublicfunction(playerid);
public function(
playerid)
{
SendClientMessage(playerid0xFFFF00AA"You are first time connceted ON THIS SERVER " );
return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)