04.04.2013, 11:21
Hi, what can i do ti get print in samp-server.exe every time someone uses i command. Something like this: ****** has used the command: /killme. Thank you.
public OnPlayerCommandReceived( playerid, cmdtext[], success )
{
if(success) printf("ID %d used a command - %s.", playerid, cmdtext);
return 1;
}
pawn Код:
|
.pwn(1143) : error 025: function heading differs from prototype
public OnPlayerCommandReceived( playerid, cmdtext[], success )
Thank you!
PD: Hi Silv! EDIT: Look I got this: Код:
.pwn(1143) : error 025: function heading differs from prototype pawn Код:
|
OnPlayerCommandPerformed(playerid, cmdtext[], success)