SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Русский/Russian

Reply
 
Thread Tools Display Modes
Old 24/12/2017, 10:30 AM   #1
Josipo
Big Clucker
 
Join Date: Dec 2010
Posts: 92
Reputation: 0
Default Ассоциативные массивы в pawn

Можно ли реализовать нечто подобное в pawn?
Вот пример из javascript:

var fieldMap = { 'login': 1, 'password': 2, 'email': 3 };

var field = 'login';

var value = fieldMap[field];

value = 1
Josipo is offline   Reply With Quote
Old 24/12/2017, 12:44 PM   #2
TriskeliS
Big Clucker
 
Join Date: Jun 2011
Posts: 69
Reputation: 0
Default Re: Ассоциативные массивы в pawn

Хэши в павн сделать наврятли получиться
TriskeliS is offline   Reply With Quote
Old 24/12/2017, 05:06 PM   #3
VVWVV
Big Clucker
 
VVWVV's Avatar
 
Join Date: Jun 2015
Location: Russia
Posts: 118
Reputation: 65
Default Re: Ассоциативные массивы в pawn

Вот
__________________
GithubTDW libraries
VVWVV is offline   Reply With Quote
Old 24/12/2017, 07:01 PM   #4
NekoriDes
Little Clucker
 
Join Date: Nov 2017
Posts: 6
Reputation: 1
Default Re: Ассоциативные массивы в pawn

Ого! СПАСИБО
NekoriDes is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sizeof mxini массивы long76 Русский/Russian 9 12/08/2014 01:38 PM
Массивы, функция mxstr Русский/Russian 16 30/12/2013 08:43 AM
Неограниченное кол-во параметров в функции (массивы...) Ted67 Русский/Russian 6 13/11/2013 05:09 PM
Массивы в таймерах Lamp27 Русский/Russian 2 28/11/2012 06:53 AM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 08:09 PM


All times are GMT. The time now is 03:37 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.