Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: 8guawong
Forum: Scripting 06-19-2019, 13:30
Replies: 10
Views: 2,066
Posted By 8guawong
Re: Storing UserIds in an Array

didn't know about FindValueInArray() :oops:
Forum: Scripting 06-19-2019, 10:10
Replies: 10
Views: 2,066
Posted By 8guawong
Re: Storing UserIds in an Array

you loop through the array and check if userid is in already in it or not
if not then PushArrayCell
Forum: Scripting 06-19-2019, 09:45
Replies: 10
Views: 2,066
Posted By 8guawong
Re: Storing UserIds in an Array

public Action Join(client, args)
{
CPrintToChat(client, "Okay..");
new struserid = GetClientUserId(client);
PushArrayCell(arr, struserid);
return Plugin_Continue;
}
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 14:53.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode