Server Script help
#1

Hello Guys and Girls
I'm Also wanted you to know that I'm not sure where this should go So if this isn't in the Right place I'm Sorry
Anyway I'm working on a Server and it's Almost Complete But i Cant Figure out how i can Fix this Part of my Script I've been trying to fix it for 2 months.

Pawno line 84 : error 029: invalid expression, assumed zero
Pawno line 84 : error 017: undefined symbol "playerid"
Pawno line 84 : error 029: invalid expression, assumed zero
Pawno line 84 : fatal error 107: too many error messages on one line
And here's the Code:
Код:
 public OnPlayerConnect(playerid)"Welcome"(playerid)
and from line 83 to 85
Код:
83{
84public OnPlayerConnect(playerid)"Welcome"(playerid)
85{
i cant figure it out please help me out Guys and Girls

please Reply if you can help me out.
__________________________________________________ ____________________________________________
Also i'm say again I'm sorry if this is not in the Right place
Reply
#2

Lol wtf you doing?
Reply
#3

Nothing about that code looks anything remotely close to actual pawn code.

The princess is in another castle
Reply
#4

whats wrong with my Post ??
Reply
#5

pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid,COLOR_RED, "Welcome");
    return 1;
}
Reply
#6

F**k hate this i Changed a Code line and before i did that i had 4 errors now i got 26 -_-

Sometimes i just wanna give up
Reply
#7

the 26 errors are Better then 4 ..
when you have 26 erros than you haven't put one more closing bracket } you forgot it somewhere in ur script
Reply
#8

Quote:
Originally Posted by Mr_Scripter
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessageToAll(playerid,COLOR_RED, "Welcome");
    return 1;
}
ROFL. Send message to all but playerid?

PHP код:
public OnPlayerConnect(playerid)
{
    
SendClientMessage(playerid,0xFF0000FF"Welcome");
    return 
1;

Reply
#9

Quote:
Originally Posted by Mr_Scripter
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessageToAll(playerid,COLOR_RED, "Welcome");
    return 1;
}
Just a correction...

pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid,COLOR_RED, "Welcome");
    return 1;
}
Reply
#10

Quote:
Originally Posted by [MG]Dimi
Посмотреть сообщение
ROFL. Send message to all but playerid?

PHP код:
public OnPlayerConnect(playerid)
{
    
SendClientMessage(playerid,0xFF0000FF"Welcome");
    return 
1;

oops my bad... i don't need "ToAll" thanks ... big fail..
* Mr_Scripter Runs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)