06.09.2011, 12:26
Quote:
lol 1st of all ur english is bad and m not able to understand anything!
|
Anyways, let's get busy.
You can use CallRemoteFunction in any part of any script you are currently running on your server.
The way it works is easy:
- You create a function:
Let's just follow (read: copy) the wiki.
pawn Код:
forward callMe(const string[]);
public callMe(const string[])
{
printf("callMe> %s", string);
return 1;
}
Here's an example of what it could look like.
pawn Код:
OnPlayerDeath(playerid, killerid);
{
CallRemoteFunction("callMe", "s", "SOMEONE GOT KILLED!");
return 1;
}
For more info, please resort to the Wiki and Gamemode/Tutorial sections.