05.11.2011, 16:58
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/playtennis", cmdtext, true, 10) == 0)
{
//Set the position of the tennis field
SetPlayerPos(playerid, positionhere);
//Gives the player a bb bat
GivePlayerWeapon(playerid, 5, 1);
return 1;
}
Rep me if i helped.
- cruteX