SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 05/06/2018, 07:45 AM   #21
Sasino97
High-roller
 
Sasino97's Avatar
 
Join Date: Dec 2010
Location: Italia
Posts: 1,392
Reputation: 88
Thumbs up Suggestion for PawnPlus

Hi, this is cool.

My suggestion is to support structs. Something like the following:
PHP Code:
struct Player
{
    
Name[MAX_PLAYER_NAME],
    
Score
PlayerInfo[MAX_PLAYERS];

public 
OnPlayerConnect(playerid)
{
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof(name));

    
PlayerInfo[playerid].Name =  name;
    
PlayerInfo[playerid].Score 0;
    return 
1;

Sasino97 is offline   Reply With Quote
Old 05/06/2018, 08:48 PM   #22
IS4
Little Clucker
 
IS4's Avatar
 
Join Date: Apr 2018
Posts: 10
Reputation: 55
Default Re: PawnPlus

That would be interesting to have, but if it is possible to implement it nicely, I'm not the right person.
IS4 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
[Help] PawnPlus IDE Manda21 Scripting Help 4 29/10/2016 01:41 PM
[Tool/Web/Other] [0.1] PawnPlus IDE - PAWNO alternative WopsS Tools and Files 62 13/04/2016 10:32 PM
[Tool/Web/Other] PawnPlus IDE - PAWNO alternative WopsS Tools and Files 94 14/01/2016 09:32 PM


All times are GMT. The time now is 08:11 AM.


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