Quote:
Originally Posted by [xB]Lordz
You mean like this?
pawn Код:
new interiorid; CMD:test(playerid,params[]) { #pragma unused params interiorid = GetPlayerInterior(playerid);//Here its just assigned but not used any where. return 1; } CMD:test2(playerid,params[]) { #pragma unused params SetPlayerInterior(playerid,interior)//Here its used for teleporting back to previous interior. //And then the warning solved? //Im asking because Im using mobile and cant check for errors or warnings.
|
Yes, that's a good example.