14.08.2011, 05:14
Sorry, I'm a bit new at scripting, but enjoying it alot. Anyways I'm just wondering what I need to add to this to make it for Admins only, thanks. (Also if you could tell me, like how to make something for LSPD only or The Army, ex: Opening a specific gate"
Thanks for your help guys, this community is making me a better scripter already.
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/cia", cmdtext, true, 10) == 0) { SetPlayerPos(playerid, 100.7311,1920.8513,18.2811); SendClientMessage(playerid, 0xFFFF40FF, "You have been Teleported"); return 1; } |