How do I add more then one teleport in a .pwn file?
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/cia", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, 100.7311,1920.8513,18.2811);
        return 1;
    }
    if (strcmp("/prison", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, -1189.0684,-964.0616,129.2119);
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)