What's wrong with this?
#1

pawn Код:
if(dialogid == DIALOG_UCPCS && response)
        {
            if(strlen(inputtext) < 0 || strlen(inputtext) > 299) return SendClientMessage(playerid, 0x33CCFFAA, "Admin: ID 0-299");
            SetPlayerSkin(playerid, strlen(inputtext));
            SendClientMessage(playerid, COLOR_ORANGE, "You have successfully changed your skin");
I'm making a simple UCP For players to change their skin Via Dialog, Well. i figured this was correct, but ingame, it brings up the dialog, i type a ID in, and nothing happens. Neither of my messages come up, when i type a invalid ID, or, when i type a ID, and hit enter/confirm.

Any idea why it's not working?
Reply
#2

So why don't you just do a CMD like /changeskin [id]?

You've showed us that not the CMD
Reply
#3

Maybe the dialogid was taken already try to check
Reply
#4

No, The dialog ID hasn't been taken already.

And daniel, As i stated in my first post, I'm making a UCP. Not a command.
Reply
#5

Show us your full OnDialogResponse code
Reply
#6

How is the UCP, Going to be accessable? a website?
Reply
#7

Quote:
Originally Posted by Daniel_Davis
Посмотреть сообщение
How is the UCP, Going to be accessable? a website?
You are really really n00b

UCP - User Control Panel

UCP is not only for website it is also use ingame something like in multiplayer games to set skin/score and others
Reply
#8

No, It's in-game, they type a command, it brings up a list, they can change skin and stuff.
But back on topic.

Does anyone have an idea?
Reply
#9

Quote:
Originally Posted by Reklez
Посмотреть сообщение
You are really really n00b

UCP - User Control Panel

UCP is not only for website it is also use ingame something like in multiplayer games to set skin/score and others
You have the cheek to call me a n00b? I'm sorry but you don't seem capable of doing this so. erm. Ssh.
Reply
#10

Quote:
Originally Posted by -Rebel Son-
Посмотреть сообщение
No, It's in-game, they type a command, it brings up a list, they can change skin and stuff.
But back on topic.

Does anyone have an idea?
Could we see that CMD?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)