SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 21/08/2019, 04:57 PM   #1
Little Clucker
Join Date: Jul 2019
Posts: 3
Reputation: 0
Default error help

hi am i am new to scripting i was making a gamemode but cannot solve that error for 1 week
D:\3.7\GTA San Andreas\server\gamemodes\ireg.pwn(102) : error 028: invalid subscript (not an array or too many subscripts): "vInfo"
.pwn(102) : warning 215: expression has no effect
.pwn(102) : error 001: expected token: ";", but found "]"
.pwn(102) : error 029: invalid expression, assumed zero
.pwn(102) : fatal error 107: too many error messages on one line
here is the script
stock Rank(playerid)
    new str[156];
    if(vInfo[playerid][pVIP] == 0) str = ("Player");
    else if(vInfo[playerid][pVIP] == 1) str = ("Donator Level 1");
    else if(vInfo[playerid][pVIP] == 2) str = ("Donator Level 2");
    else if(vInfo[playerid][pVIP] == 3) str = ("Donator Level 3");
    return str;
Please help
KIRAB 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
error 017: undefined symbol,fatal error 107: too many error messages on one line Slicebook Scripting Help 11 04/05/2014 08:30 PM
An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds.... rati555 Scripting Help 1 14/09/2012 07:45 PM
Registered plate stock error 'error 076: syntax error in the expression, or invalid function call' Deal-or-die Scripting Help 2 25/06/2012 03:12 PM
Error message: : error 030: compound statement not closed at the end of file (started at line 170) the_zohan Scripting Help 5 04/06/2012 08:38 AM
I get tagmismatch error, But i cant find any error error Swiftz Help Archive 1 16/04/2011 04:31 AM

All times are GMT. The time now is 12:06 PM.

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