What's wrong with this? -
-Rebel Son- - 28.03.2012
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?
Re: What's wrong with this? -
BigD - 28.03.2012
So why don't you just do a CMD like /changeskin [id]?
You've showed us that not the CMD
Re: What's wrong with this? -
Reklez - 28.03.2012
Maybe the dialogid was taken already try to check
Re: What's wrong with this? -
-Rebel Son- - 28.03.2012
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.
Re: What's wrong with this? -
Reklez - 28.03.2012
Show us your full OnDialogResponse code
Re: What's wrong with this? -
BigD - 28.03.2012
How is the UCP, Going to be accessable? a website?
Re: What's wrong with this? -
Reklez - 28.03.2012
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
Re: What's wrong with this? -
-Rebel Son- - 28.03.2012
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?
Re: What's wrong with this? -
BigD - 28.03.2012
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.
Re: What's wrong with this? -
BigD - 28.03.2012
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?