Thread: [ANY] SM Status
View Single Post
kwski43
Senior Member
Join Date: Mar 2009
Old 01-11-2014 , 12:06   Re: [ANY] SM Status
Reply With Quote #13

if sm_status is executed from console it will result in client index 0 is invalid error and because it would be pointless to tell user looking at the console aready to look at it so just add a simple check:
PHP Code:
    if(client != 0)
        
PrintToChat(client"\x04[SM] See console for output!"); 
mentioned in post #10
Attached Files
File Type: sp Get Plugin or Get Source (smstatus.sp - 299 views - 1.1 KB)

Last edited by kwski43; 01-11-2014 at 19:12. Reason: uploaded my own version
kwski43 is offline