How to do this properly
#1

I know i already have a topic about this but i cant find it.
Anyway how would i do this?

pawn Код:
PlayerInfo[playerid][Year] = inputtext;
By that code you should get what i want, If not then,
Whatever the player types in dialog im trying to save to there file,
But i get this error:
Код:
C:\Users\Torran\Desktop\tRoleplay\gamemodes\tRoleplay.pwn(197) : error 006: must be assigned to an array
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
A user on this forum told me how to do it correctly but ive lost that topic,
Anyone know how i would do it?
Reply
#2

Try:
pawn Код:
PlayerInfo[playerid][Year] = strlen(inputtext);
Reply
#3

Works ty
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)