SA-MP Forums

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 24/12/2017, 09:30 AM   #1
Josipo
Big Clucker
 
Join Date: Dec 2010
Posts: 98
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
 

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 12:38 PM
Массивы, функция mxstr Русский/Russian 16 30/12/2013 07:43 AM
Неограниченное кол-во параметров в функции (массивы...) Ted67 Русский/Russian 6 13/11/2013 04:09 PM
Массивы в таймерах Lamp27 Русский/Russian 2 28/11/2012 05:53 AM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 07:09 PM


All times are GMT. The time now is 02:19 AM.


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