Forum
Search
Members
Help
Hello There, Guest!
Login
Username:
Password:
Lost Password?
Remember me
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive
Linear Mode
How to do this?
Sergei
High-roller
Posts: 2,862
Threads: 11
Joined: Mar 2008
Reputation:
0
#5
18.04.2010, 17:32
Quote:
Originally Posted by
MyName?
Quote:
Originally Posted by
Etch ❽ H
Код:
OnPlayerConnect(playerid) { pStats[playerid][Level] = 0; // Level is just an example return 1; }
Nah I want to set all of them to 0 in once. Not with 50 lines.
You will need 50 lines then or use PVars which are reset automatically.
Quote:
Originally Posted by
Cank
Quote:
for(new i=0; i<sizeof(pStats); i++) { pStats[playerid] = 0; }
simply use "i" instead of "playerid"
Fail
Find
Reply
«
Next Oldest
|
Next Newest
»
Messages In This Thread
How to do this?
- by
RSC_Quicker
- 18.04.2010, 16:46
Re: How to do this?
- by
aircombat
- 18.04.2010, 16:59
Re: How to do this?
- by
RSC_Quicker
- 18.04.2010, 17:11
Re: How to do this?
- by
Cank
- 18.04.2010, 17:31
Re: How to do this?
- by
Sergei
- 18.04.2010, 17:32
Re: How to do this?
- by
RSC_Quicker
- 19.04.2010, 19:57
View a Printable Version
Forum Jump:
Private Messages
User Control Panel
Who's Online
Search
Forum Home
SA-MP
-- News and Updates
-- General
-- Client Support
-- Bug Reports
-- Screenshots and Videos
SA-MP Server
-- Server Support
-- Server Advertisements
SA-MP Scripting and Plugins
-- Scripting Help
---- Tutorials
---- Discussion
---- Help Archive
-- Gamemode Scripts
-- Filterscripts
---- Includes
---- Tools and Files
---- Maps
-- Plugin Development
SA-MP DL Edition
-- SA-MP 0.3.DL
---- Model Releases
Other
-- Everything and Nothing
Non-English
-- Languages
---- Nederlands/Dutch
------ Scripting Showroom en Discussie
------ Off topic
---- Español/Spanish
------ Lanzamientos/Releases
---- Français/French
------ Showroom
---- Русский/Russian
------ Релизы/Releases
---- Português/Portuguese
------ Lançamentos/Releases
---- Română/Romanian
------ Salonul Scripturilor
---- Archive
Users browsing this thread: 1 Guest(s)
SA-MP Forums Archive
SA-MP Scripting and Plugins
Scripting Help
Help Archive