Command help .
#1

So I got a command , and I don't know how to make it for just one job , I mean , for the job but I want it done with the job's id .. could you give me any example how to do that ?
Reply
#2

PHP код:
if(!strcmp(cmdtext"/command"true))
{
    if(
PlayerInfo[playerid][pJob] != ID)
        return 
SendClientMessage(playerid, -1"[ERROR]: You are not a "-" !");
    
// ... rest of command

Change the ID with your value job, and "-" with your Job Name.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)