- 0
/vipname
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
PiticuGAMER
Salut, am luat o comanda de (/vipname) de pe internet, tin sa anunt ca nu sunt foarte avansat in scirpting si vreau sa invat si am o mica problema, tot primesc eroarea asta, m-am tot chinuti 2 zile la rand sa o rezolv si mi-am tot batut capul dar nu am gasit nimic, ma poate ajuta cineva cu ea si sa imi explice ce trebuie sa fac?
Comanda:
CMD:vipname(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pVip] == 1)
{
if(IsPlayerInAnyVehicle(playerid))
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
new Float:vehx, Float:vehy, Float:vehz;
GetVehiclePos(currentveh, vehx, vehy, vehz);
new objectid = CreateObject(19327, vehx,vehy,vehz, vehx,vehy,vehz);
SetObjectMaterialText(objectid, "BloodTwist", 0, 50, "Arial", 25, 1, 0xE60000FF, 0, 1);
AttachObjectToVehicle(objectid, currentveh, 0.0, -1.9, 0.3, 270.0, 0.0, 0.0);
SendClientMessage(playerid, COLOR_WHITE, "TEXT Pentru vhicul added:");
}
}
else return SendClientMessage(playerid, COLOR_WHITE, AdminOnly);
}
return 1;
}
Eroarea:
E:\HGame RPG\gamemodes\Ding.pwn(21135) : error 017: undefined symbol "pVip"
E:\HGame RPG\gamemodes\Ding.pwn(21151) : warning 217: loose indentation
E:\HGame RPG\gamemodes\Ding.pwn(56540) : warning 203: symbol is never used: "logina"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
Si daca se poate mai am o mica intrebare acolo unde scrie "BloodTwist" ce ar trebui sa fie pus, orice vreau eu, numele la server, sau?
Multumesc anticipat pentru timpul acordat.
Edited by PiticuGAMER3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.