16.02.2008, 15:48
Your its wrong
New :
You should type cmdtext, not just cmd
Stunt teleport commands:
PWN: http://www.sendspace.com/file/apltoz
AMX: http://www.sendspace.com/file/jkntk7
New :
Код:
#include <a_samp> #define FILTERSCRIPT public OnFilterScriptInit() { print("\n----------------------------------"); print("Teleport commands by [JPP]MrBean Loaded!"); print("Teleport commands fixed by Blank.me "); print("----------------------------------\n"); } public OnFilterScriptExit() { print("\n----------------------------------"); print("Teleport commands by [JPP]MrBean UnLoaded!"); print("Teleport commands fixed by Blank.me "); print("----------------------------------\n"); } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/drop", true) == 0) { SetPlayerPos(playerid, 294.692963, 6275.912109, 4883.093750); return 1; } if(strcmp(cmdtext, "/rally", true) == 0) { SetPlayerPos(playerid, 6442.591797, -2019.094238, 14.304369); return 1; } if(strcmp(cmdtext, "/karting", true) == 0) { SetPlayerPos(playerid, 3155.791,-958.516,44.756); return 1; } if(strcmp(cmdtext, "/formula1", true) == 0) { SetPlayerPos(playerid, 294.692963, 6275.912109, 4883.093750); return 1; } if(strcmp(cmdtext, "/vc", true) == 0) { SetPlayerPos(playerid, -2612.838,3826.116,6.636); return 1; } if(strcmp(cmdtext, "/halfpipe", true) == 0) { SetPlayerPos(playerid, 2039.905,-2581.177,13.311); return 1; } if(strcmp(cmdtext, "/deathglobe", true) == 0) { SetPlayerPos(playerid, 4000.000,4006.500,4.000); return 1; } return 1; }
Stunt teleport commands:
PWN: http://www.sendspace.com/file/apltoz
AMX: http://www.sendspace.com/file/jkntk7