Really need help now. can't figure out after a phew weeks.
#1

Hey guys. I really need help. I want that when you disconnect with a color. Lets take as example red.
I want that when you disconnect your color saves.
And when you connect. SO not logged in yet. but just when you are connected your name color loads again.


I tryed many things. I really can't come out guys. I really need help now. Please help me.

This is my script http://pastebin.com/m8718423
Reply
#2

Why is there never anyone with an answer on this question?
Reply
#3

Help please.
Reply
#4

Serious guys
Reply
#5

Dude, getting help with more complex issues is extremely rare on this forum, if you don't offer money. Know it too well. Sorry but I can't help you, I kinda have the same issue myself.
Reply
#6

OnPlayerConnect

pawn Код:
SetPlayerColor(playerid, dUserINT(PlayerName2(playerid)).("color"));
OnPlayerDisconnect

pawn Код:
dUserSetINT(PlayerName2(playerid)).("color",GetPlayerColor(playerid));
Reply
#7

Quote:
Originally Posted by MadeMan
OnPlayerConnect

pawn Код:
SetPlayerColor(playerid, dUserINT(PlayerName2(playerid)).("color"));
OnPlayerDisconnect

pawn Код:
dUserSetINT(PlayerName2(playerid)).("color",GetPlayerColor(playerid));
Taken from lAdmin, bartje has to edit it, and use dudb.
And GetPlayerColor isnt working unless you have used SetPlayerColor...
And theres a lot of unused variables.

I am sorry Bartje, but you can't do this i think (Yet, i hope kye fixes the getplayercolor)
Reply
#8

ahw. ok. damn xD Thanks for helping anyways
Reply
#9

Quote:
Originally Posted by MadeMan
OnPlayerConnect

pawn Код:
SetPlayerColor(playerid, dUserINT(PlayerName2(playerid)).("color"));
OnPlayerDisconnect

pawn Код:
dUserSetINT(PlayerName2(playerid)).("color",GetPlayerColor(playerid));
OMG LOL. NO wAIT. HE IS RIGHT. IT IS WORKING. HELL THANKS MATE. HELL YEAA
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)