13.07.2011, 19:38
It doesn't exist; It's not a native SA-MP function for Players, but that doesn't mean you can't make it yourself. I've renamed it to avoid collisions with the NPC function.
Place the code above at (or near) the top of your script, and you'll be able to use it like so:
pawn Код:
#define SendPlayerCommand OnPlayerCommandText
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid,x,y,z); // I hope you've defined x, y and z as floats somewhere
SendPlayerCommand(playerid, "/join");
return 1;
}