AFK Sys, 3dTextLabel ..
#4

You code doesn't allow to do "/unafk" and its a dead end for a player.
You check if a player is AFK and display him a message that he can't use commands and tell him to type /unafk and when he does he gets "our AFK, You Cant Use Commands , for back Type : /unafk".

Add if(AFK[playerid]) && strcmp(cmd,"unafk",true)) ,this code will execute if he is AFK and he is using a cmd that is not /unafk if he types unafk he can proceed.

And your error is you forgot to "GetPlayerPos" before Create3DTextLabel and in addition to that your new AFK[MAX_PLAYERS] is a wrong data-type and it won't work ,you need a Text3D variable to hold 3DTexts.
Reply


Messages In This Thread
AFK Sys, 3dTextLabel .. - by daniel2499 - 07.05.2013, 14:30
Re: AFK Sys, 3dTextLabel .. - by WoodPecker - 07.05.2013, 14:33
Re: AFK Sys, 3dTextLabel .. - by daniel2499 - 07.05.2013, 14:37
Re: AFK Sys, 3dTextLabel .. - by Yashas - 07.05.2013, 14:43
Re: AFK Sys, 3dTextLabel .. - by daniel2499 - 07.05.2013, 14:46
Re: AFK Sys, 3dTextLabel .. - by Yashas - 07.05.2013, 14:49
Re: AFK Sys, 3dTextLabel .. - by Pottus - 07.05.2013, 14:53
Re: AFK Sys, 3dTextLabel .. - by Pottus - 07.05.2013, 14:55
Re: AFK Sys, 3dTextLabel .. - by Yashas - 07.05.2013, 14:55
Re: AFK Sys, 3dTextLabel .. - by daniel2499 - 07.05.2013, 14:59

Forum Jump:


Users browsing this thread: 3 Guest(s)