03.07.2013, 11:01
are you know how to script ? learning to script before post a fs
change this :
to :
change this :
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/ls", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,2492.8408,-1671.2026,13); return 1; } if (strcmp("/lv", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,1454.9015,1347.4325,10); return 1; } if (strcmp("/sf", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,-1320.2717,-603.5780,14); return 1; } return 0; }
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp("/ls", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,2492.8408,-1671.2026,13); return 1; } if (strcmp("/lv", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,1454.9015,1347.4325,10); return 1; } if (strcmp("/sf", cmdtext, true, 10) == 0) { SetPlayerPos(playerid,-1320.2717,-603.5780,14); return 1; } return 0; }