Author Topic: Checking Other Players Client Sided  (Read 371 times)

« Last Edit: July 20, 2011, 06:20:30 AM by xcruso »

servercmds are serversided, no matter what.

Also, findClientByName is used by the host console, not yours.

Besides, CityRPGs are a waste of time.

This is the part that get's the list of player names in Walletbot's scripts.

Code: [Select]
for(%i = 0; NPL_List.getrowtext(%i) !$= ""; %i++) {
walletbot.clientnames[index] = %i;
%end = strpos(NPL_List.getrowtext(%i), "" TAB "", 2);
%name = getsubstr(NPL_List.getrowtext(%i), 2, %end-2);
walletbot.clientnames[%i] = %name;
}