Posts: 7
Threads: 2
Joined: Dec 2011
Reputation:
0
Can you help me with a command ?
I want to do a comand that I can see the private messages
/showpm
Help me please ! :-s
I tried but I failed !
shows us your /pm command first. We are not mind reader.
Posts: 7
Threads: 2
Joined: Dec 2011
Reputation:
0
Oh sorry I forgot !
My /pm command is
//----------------------------------[PM]-----------------------------------------------
if(strcmp(cmd, "/pm", true) == 0 || strcmp(cmd, "/p", true) == 0)
{
if(IsPlayerConnected(playerid))
{
{
ShowPlayerDialog(playerid,8523,DIALOG_STYLE_INPUT, "Private Message System","Enter the receiverґs ID","Done","Cancel");
return 1;
}
}
return 1;
}
I`ve tried to change it 'cause I don't like this type of dialog I wanned simple but it gave me a lot of errors. I've searched, I've found some pm commands but aren't compatible [I think] 'cause it gave me a lot of errors! :-s
Posts: 7
Threads: 2
Joined: Dec 2011
Reputation:
0
I tried that command and it gave me some errors
Posts: 7
Threads: 2
Joined: Dec 2011
Reputation:
0
I am new in scripting sorry I don't know .
and he errors at that command :
C:\Users\Andrei\Desktop\abc\a\EndGame Server Rpg\gamemodes\Teddy23.pwn(50822) : warning 217: loose indentation
C:\Users\Andrei\Desktop\abc\a\EndGame Server Rpg\gamemodes\Teddy23.pwn(50822) : error 029: invalid expression, assumed zero
C:\Users\Andrei\Desktop\abc\a\EndGame Server Rpg\gamemodes\Teddy23.pwn(50822) : error 017: undefined symbol "cmd_pm"
C:\Users\Andrei\Desktop\abc\a\EndGame Server Rpg\gamemodes\Teddy23.pwn(50822) : error 029: invalid expression, assumed zero
C:\Users\Andrei\Desktop\abc\a\EndGame Server Rpg\gamemodes\Teddy23.pwn(50822) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.