View Single Post
Old 02/08/2020, 12:19 PM   #1
Little Clucker
Join Date: Jul 2020
Posts: 10
Reputation: 0
Default Pressing Y to Enter

Hello.Im just new in scripting.I want the (/enter)(/exit) in Y key.I dont know what to add in "//code here"
Can someone help me?This is my strcmp code.I found codes in other threads but its in zcmd

This is the code that i found
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
        // Code here
	return 1;
And this is the code in CGRP gm
if(strcmp(cmd, "/enter", true) == 0)
This is the whole code for /enter
Rannie is offline   Reply With Quote